backanim

  JR-FileViewer
Properties   Methods   Events
   

jrsoftlogo

            JRFileoperation.RenameSelectedFiles

           

  Description:

Renames the selected files. Each file will be fire the OnItemRename Event

           

  ico_syntax Syntax:

FileViewer1.FileCommand.RenameSelectedFiles(ByVal FilesAndFolders As xFileHandle) As Long

 

  ico_einstellungen Adjustments:

FilesAndFolders

one of the xFileHandle values to select if only files only folders or files and folders will be renamed.

       

  ico_weitere Remarks:


Returns the number of renamed files .

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

 

  ico_einstellungen Example:

       

      FileV1.FileCommand.RenameSelectedFiles (FilesAndFolders)