Powercopy (pc.exe / pc32.exe) DOS Command Line Parameters

Powercopy contains 40 unique functions. The Professional version offers these additional POWER functions:
'/ml', '/makelist', '/mlb', '/ktl', & '/g(et)'.

All transfer (and receive) options selectable under Win9x are available in DOS.
The easiest way to learn DOS command line parameters is by watching the bottom text-box of the Win9x transfer (or receive) dialog. Observe the text-box changes after a different selection is made.
DOS nomenclature:
The following symbols are used to simplify the presentation of Powercopy's command line parameters. These symbols are for explanation purposes only and are not allowed in literal command line parameters. These are standard DOS symbols.
'|' means or, '[ ]' means requires optional parameter(s), '{}' means at least one command is required inside the brackets, '<>' means a file/folder path, argument must be included.

PC.EXE is used for DOS transfers in all DOS-based operatingsystems like DOS,WfW,Win95,Win98
PC32.exe is used in all NT based operating systems like NT/WIN2000.

To learn the versatile DOS parameters please read the entire documentation!

Typical Powercopy command line usage:
PC.EXE {[OPTIONS1] /r or /t <Path> or /check [SignaturelistFile] or /g <Path>} [/d <Path>]  [OPTIONS2]
Example:
 
Sender-side
C:\>pc.exe /turbo /t c:\My" "Documents\* /d c:\My" "Backup" "Documents /aed Transfers all files and folders (including empty ones) from "My Documents" to the matching folder on the receiver-side("c:\My Backup Documents"). All existing receiver-side files are overwritten ('ovwra').
Receiver-side
C:\>pc.exe /turbo /r /ovwra

Powercopy's versatile change and make directory directives:
The /cd Function is currently disabled at the NT/Win2000 Version of Powercopy (pc32.exe).
PC.EXE /cd <Path>Interactive utility to change a folder.
The following entry (sender-side) changes the directory to match the receiver's folder:
PC.EXE /cd c:\w*\sy*e?
     The minimum path for the CD directive is *; i.e., PC.EXE /cd *

PC.EXE /md <Path> Creates a folder (make directory) more on /CD /MD here
     For example: PC.EXE /md c:\abc\system\test

- -The following function is available only in the Professional version! - -

PC.EXE /makelist <Path> [OPTIONS /delete /nosub]
Basic program parameters - - one must be selected!
/r(eceive)...receiver-side parameter: Instucts the PC to receive files/folders or commands that are issued by the sender PC.
/t(ransmit) <Path>...sender-side parameter: Transfers the selected path to the opposite computer(receiver).
/ml(make file list) <filepath>...sender (or receiver) parameter: Creates a CRC32 checksum file list.
/mlb...sender (or receiver) parameter: Same as /ml, but the files are displayed during the creation. More on /ml see here
/check [file name]...sender (or receiver) parameter: Checks the file signature list (created by /ml). Default is '@FileLst.PC@'.

/? or /...sender (or receiver) parameter: Displays (on the monitor) the same 'Help' information found on this page.

- -The following function is available only in the Professional version! - -

- - file server function  - -
/g(et) @Aliasname@...sender-side parameter: All alias names must be listed (created) in the user-created file 'pc.ini' file placed in the 'Windows\Command' folder. The aliases are translated into the real path allowing the file list (all files/folders) to be transferred. For file server detail see: the file server funtion. For creating the 'pc.ini' file and using alias names for transfers see: Alias Table Creation.
 

[OPTIONS2]  - - Options Start - -

The file/folder, select and transfer options

/d(estination path)...sender (or receiver) parameter: Sets the location where the files are transferred to.

If the /d parameter is set at the receiver side in conjunction with the /r parameter then the parameter /d (if specified) is ignored at the sender side.
/F+  File selection (inclusion) parameter. For example: /F+ *.txt *.doc
    - every file that matches *.txt and *.doc will be transferred. more here on /F+ /F-

/F-  File deselection (exclusion) parameter: For example: /F- a*.txt b*.doc
    - every file with the name a*.txt or b*.doc is removed from the selection (transfer).

- -The following function is available only in the Professional version! - -
/kTL Sender-parameter Keeps the file transfer list. The file list '@To_Send.PC@' is kept after transfer.

/nosub Sender-parameter, no subdirectories will be transferred.
/AED Sender-parameter, transfer empty directories. Even empty subdirectories (empty folders) are transferred.
/SF Sender-parameter, displayys the current file being transferred or checked (/check) on the screen.
/PT Sender-parameter, creates a protocol file '@TransLg.PC@' in the 'Windows/Command' folder. Useful to interrogate (parse) with a text search utility such as GREP.
/NoLfn Sender-parameter, disables long file name support in Windows DOS Shell. Uses DOS 8.3 format during transfer. All files names not meeting the DOS 8.3 format are truncated.
/InternalLfn Receiver-parameter: This parameter is only required when transferring files from Windows DOS Shell (sender) to Pure DOS (receiver). The names of transferred files not meeting the DOS 8.3 format are stored in the file '@Long_FN.PC@' (receiver side). When transferring files using Pure DOS 7.0, WfW or DOS 6.2 this parameter is not required as Powercopy automatically generates a long file list (see noInternalLfn for disabling this feature.
/noInternalLfn Receiver-parameter: Under Pure DOS the long file list creation feature is disabled with this parameter. If you don't need the long file name information then uses this option, which also increases the effective transfer speed.

/delete Sender-parameter: Used with the /makelist (/ml or /mlb parameter) to delete all files after the filelist is created. Subdirectories are not deleted!
Caution:No warning is given! Before using this feature verify the files match without using the /delete parameter.
/date Sender-parameter: Usage: <YYYY.MM.DD>-<YYYY.MM.DD>. Only files (and folders) created within these dates are transferred. Example: /date1999.10.10-2000.1.12 transfers all files created between the 10th of October, 1999 and the 12th day of January, 2000 are transferred. Tip: Do not use a leading zero for months or days less than 10!
/time Sender-parameter: Usage: <HH:MM:SS>-<HH:MM:SS>. Only files (and folders) created within these times are transferred. Use in conjunction with /date, e.g., /dateyyyy.mm.dd-yyyy.mm.dd /timehh:mm:ss-hh:mm:ss. Tip: Do not use a leading zero for hours, seconds or minutes less than 10!
/size Sender-parameter: Usage: <RangeFrom>-<RangeTo>. Only files within the range are transferred. Example: /size0-100000 transfers all files up to 100kBytes in size.

The overwrite options

Note: Unless specified, the overwrite default is "ask on every exisiting file". This parameter may be used on both the sender and receiver PCs however, the receiver parameter has precedence over the sender. Use this ovwr parameter with /r /g & /t only.

/ovwra Overwrites all existing files and transfers nonexisting on the receiver side.
/ovwrd Overwrites only different files on the receiver side (including older and nonexisting).
/ovwrs Transfers only nonexisting files (keeps all existing files).
/ovwro Overwrites only older files.(Always syncronize Time and Date of your computers.)

/noCRC Sender-parameter:  The file list will contain no CRC32 checksum (see /ml). The /check parameter can not verify the checksum in this case.

The parallel port hardware options

[OPTIONS1]  - - Parallel Port Transfer Options Start - -
/noECP    Disables high speed and turbo speed transfer modes.
/noEPP     Disables medium speed by disabling EPP. Transfers behave like bidirectional mode.
/noBidirect     Similar to /noepp.
/AllowEcpDma    same as /Turbo  Not available under NT4/Win2000!
/Turbo Activates the Turbo transfer mode.  Not available under NT4/Win2000!
                   ECP-DMA-Channel will be used for Data Transfer if available.
/NoEcpFtDma     The lower turbospeed.Uses no FTypeDma transfer! Not available under NT4/Win2000!
/DMA-D /DMA-B /DMA-S /DMA-C   Overwrites the automatic detected DMA Mode.
   -Can cause System hangs! Please keep you fingers away from this Parameters Not available under NT4/Win2000!

- - Parameters for automatic or manual parallel port configuration - -

/noPNPscan Disables Plug and play autodetection.  Not available under NT4/Win2000!
/noSuperIOscan  Disables parallel chip detection.  Not available under NT4/Win2000!
/noDosEnvscan  Performs no Dos Environment scan.
/noGoodLuckScan parameter: Protects from scanning commonly used ports.
/UsePxxx-Ix-Dx

Using these port, irq or dma values to override the automatically detected one. Please only use this parameter if your computer has more then one parallel interface. If the port address is 0x378 then the parameter is /UseP378. If the IRQ is 11 the parameter is /UseP378-I11. If the ECP-DMA channel is 0, then the correct parameter is /UseP378-I11-D0. Hint: /UsePxxx is the format, which must be used under NT/Win2000.


The returned error levels ( useful for batch usage )

  0 no error                        1 error at receiver
 10 /check CRC32 error                11 /check file access error or no longer exista
 12 /check error 10 and error 11 occured
220 parallel interface configuration error.
228 /md or /cd error               229 /md or /cd error
230 Directory creation error (/md or /cd /d)
235 File creation/renaming error.
236 Disk Full.                      237 Unrecoverable Handshake
238 File list generation or read Error
239 Time-Out on transfer handshake
240 User-Break.                    241Receive error.
242 Transmit error.                243 CRC32 error or missing.
250 Illegal destination file name detected.
251 Hand shake error; file name too long. 252 Needed directory does not exist.
253 Parallel configuration error.
254 Wrong program call. Parameters missing or called with /? /help.
255 Miscellaneous error

All Error numbers between 100 and 155 are Communications related.
Adding 100 to the Error number to determine the exact cause. For example: Error number 136 + 100 = 236 is:
"Communication Partner says that it's disk is full!"

Return to the Help Main page