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.DOS nomenclature:
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.
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 |
The /cd Function is currently disabled at the NT/Win2000 Version of Powercopy (pc32.exe).Powercopy's versatile change and make directory directives:
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! - -
/r(eceive)...receiver-side parameter: Instucts the PC to receive files/folders or commands that are issued by the sender PC.Basic program parameters - - one must be selected!
/? 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! - -
[OPTIONS2] - - Options Start - -
/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
/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).
/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
/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
- - 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!"