Jump to content

Recommended Posts

Posted

Hi,

I would like to understand how to use options such as "FileCopy" wihtin the command dropdown list from the config page. The provided documentation does not cover this. Does anyone have experience using it.


Posted

You use them just as you would use the corresponding DOS command. For example, FileCopy is just like the copy command in dos. Therefore the WPI command "FILECOPY C:\testfile.txt C:\testfile.txt.bak" is equivalent to the DOS command "copy C:\testfile.txt C:\testfile.txt.bak".

The corresponding DOS command for the WPI commands are as follows:

- FILECOPY = copy

- FILEMOVE = move

- RENAME = ren

- DELETE = del

- MAKEDIR = md

- DIRCOPY = xcopy /I /E /Y

- DELDIR = rd /S /Q

For usage information about the DOS commands used, like the switches used for DIRCOPY and DELDIR, open a command prompt and type the DOS command followed by " /?" (no quotations).

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...