Fileman.vbs Syntax

command promptOpen command prompt now.


1. To delete or take ownership of a file

One StepFileMan.vbs /D TargetFile | /T TargetFile [/S server] [/U username] [/W password] [/O outputfile]

2. To rename or copy a file

One StepFileMan.vbs /R TargetFile | /C TargetFile /N NewFile [/S server] [/U username] [/W password] [/O outputfile]

Where:

/D TargetFile
deletes the file TargetFile.
/T TargetFile
takes ownership of the file TargetFile.
/C TargetFile /N NewFile
copies the file TargetFile to a file specified in NewFile.
/R TargetFile /N NewFile
renames the file TargetFile to a file specified in NewFile.
server
is a computer name.
outputfile
is the output file name.
username
is the current user's name.
password
is the password of the current user.