backanim

  JR-FileViewer
Properties   Methods   Events
   

jrsoftlogo

            JRFileoperation.PasteAsShortcut

           

  Description:

creates .lnk files for all the files in the copy buffer in the destination path.

         

  ico_syntax   Syntax:

FileViewer1.FileCommand.PasteAsShortcut(ByVal DestDir As String) As Long

 

  ico_einstellungen Adjustments:

DestDir

an existing path where the shortcut be created.

       

  ico_weitere Remarks:


Returns the number of created .lnk files .

Note: You can youse the ExecuteShellCommand for the listitem too
'filev1.ListItem(filev1.FirstSelectedItem.Key).ExecuteShellCommand (IcCreateShortcut)

 

  ico_einstellungen Example:

       

    If FileV1.FileCommand.PasteAsShortcut(FileV1.Currentfolder) = 0 Then
        MsgBox "Paste failed"
    End If