Difference between revisions of "MoveFile"

From SpybotWiki
Jump to: navigation, search
(added info box)
(Usage: added var types, added example)
 
Line 12: Line 12:
  
 
==Usage==
 
==Usage==
  MoveFile:<source filename>,<destination filename>[,advanced file parameters]
+
  MoveFile:<source-filename(string)>,<destination-filename(string)>[,advanced file parameters]
  
 
===Examples===
 
===Examples===
 +
MoveFile:"<$WINDIR>\RootkitHidden.exe","<$WINDIR>\RootkitHidden.exe-renamed"
  
 
===Description===
 
===Description===

Latest revision as of 16:26, 22 February 2008

MoveFile
Group Files
Main Application Version 1.3
Required Update n/a
File Parameters yes (third)
Registry Parameters no
Build Parameters yes (third)
Special Parameters no

Renames/moves a file.

Usage

MoveFile:<source-filename(string)>,<destination-filename(string)>[,advanced file parameters]

Examples

MoveFile:"<$WINDIR>\RootkitHidden.exe","<$WINDIR>\RootkitHidden.exe-renamed"

Description

This command renames files.

  1. The first parameter is the source filename, no wildcards etc. allowed. PT
  2. The second parameter specifies the new, target filename the file should be renamed to. PT
  3. The third parameter should specify some advanced file parameters to avoid the problems arising from ambiguous filenames.

Scan Results

No scan results, operating takes place immediately.

See also

Similar commands