Make your own free website on

Command line Tools

Last Revised: 08 January 2009 RocketJet4 - Tools


* * Remember to do a VIRUS check * *



RJ4 c:\fred\*.cob /s DO PKZIP A:`f8.ZIP `dsn

/B = Batch mode. Suppresses confirmation
/S = Sub-Directory Recursion (Win95 or better)
/F = Folders only /N = No Folders
/Xfilename = Exclude a single file/folder name

1: Name pattern. Supports wild cards: * ?
2: "DO" command string. Supports Symbolic Variables(uses backwards quote)

SYMBOLIC Variables begin with a grave sign (`) and end in exclamation (!).
The grave (backwards quote), is usually found on the tilde key (~).
--- SYMBOLS ---
`F! = FILENAME.XTN `DATE! = full gregorian 19981231
`F8! = 8 char FILENAME without .XTN `DAY! = day of week THU
`DSN! = drv:\dir\filename.xtn `JULIAN! = Julian date 1998104
`DRV! = drive letter `JUL! = Short Julian 98104
`DIR! = directory path specified `YEAR! = full year 1998
`PATH! = drive and directory `YY-MM-DD! = punctuated greg 98-12-31
`EXT! = 3 character extension `yyMTHdd! = month abbr text 98dec31
`1..`8 = Char position N of FILENAME `HH:MM:SS! = punctuated time 23:59:58
`} = > `{ = < `+ = | `` = ` (YEAR,YY,MM,DD,etc any order, punctuation)

"R" command. Renames better than ms-dos "REN" cmd.
Allows floating wild card, missing dot, rearrang letters.
EXAMPLE Renames:
R LONG*.* Q*.Z* Changes length of name
R fred* george* Assumes wild extension

General Public License does not permit incorporating this program into proprietary programs.
This is free software; you can redistribute it and/or modify it under the terms of the
GNU General Public License
as published by
Free Software Foundation;

This is distributed in the hope that it will be useful, but
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License for more details.