home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
RBBS in a Box Volume 1 #2
/
RBBS_vol1_no2.iso
/
014r
/
pcopy5.zip
/
PUTIL.DOC
< prev
Wrap
Text File
|
1986-10-12
|
13KB
|
224 lines
Here is a list of the Patriquin utilities that exist as of the
October 10, 1986. Also included are command parameter descriptions
to help you get a better idea of what each utility does.
-----------------------------------------------------------------------
PDELETE -- A intelligent alternative to the DOS delete command.
It provides a comprehensive tool when you need a
selective delete utility. The idea is to provide
automatic selection instead of requiring the user
to manually indicate each file to be deleted.
Command: PDEL file_spec [switches (below)]
/A = DOS Archive. Only files updated since last backup
/D: [(] [)] [=] days/date = Select files based on date or days
/DI = Delete directory and all subordinate files and directories
/F:filename = First - Start when this file found in directory scan
/L:filename = Last - Stop after this file is processed
/M = More. Stop at end of each screen of output
/O = Omit all the files matching filespec. Process all others.
/P = Pause before each file is processed. Ask of OK.
/RE= OK to delete files with SYSTEM HIDDEN READONLY attributes
/RO= Process Read Only files too.
/S = System. Searches all directories.
/SF= Process System/Hidden files too.
/SZ: [(] [)] Select files [<] or > file size. /SZ:)10000
/T = Test command parameters. Show what would happen without /T.
/W = Wipe file data before deleting. Prevents data recovery.
-----------------------------------------------------------------------
PCOPY/PMOVE -- An alternative to the DOS copy command.
It is a very flexible file mover utility. It provides
many options to both select files and insure the
proper data is moved. It is great for combining
directories or updating hard disk directories.
Command: PMOVE from_file_spec [to_file_spec] [switches (below)]
/A = DOS Archive. Process files updated since last backup
/B = Reset DOS Archive (backup) indicator after file moved.
/C = Copy data only, do not delete original files
/D: [(] [)] [=] days/date = Select files based on date or days
/DC= Copy directory names also to target volume (Diskcopy)
/D-= Delete all files and directories on target drive before copy",
/E = Process and replace Duplicate file names only
/F:filename = First - Start when this file found in directory scan",
/L:filename = Last - Stop after this file is processed
/M = More. Stop at end of each screen of output
/ME= Merge. Like Update/Move(X) but also deletes unmoved files
/MU= MUltiple input disk volumes to be processed
/N = Process only NEW files that do not already exist on target drive",
/NW = Don't use window processing mode. (DOS screen interface)
/O = Omit all the files matching filespec. Process all others.
/P = Pause before each file is processed. Ask of OK.
/R = Replace any file that already exists. (Delete old unless /SA used)",
/RE= Register and/or change startup Window option.
/RO= Process Read Only files too.
/S = System. Searches all directories for specified filespec.
/SA= Save old duplicate filenames as *.?01 filenames. (Use with /R)",
/SF= Process System/Hidden files too.
/SZ: [(] [)] Select files [<] or > file size.
/T = Test command parameters. Simulate what would happen without /T.",
/U = Process NEW files and files with most current dates.
/V = Use DOS verify to help insure proper data written to output disk.",
/X = Move the files. Erase from source location after move
-----------------------------------------------------------------------
PSEARCH -- The first Patriquin utility. PSEARCH has too many
features to document here. It provides three basic
utilities to hard disk users.
-- Search for text in files and thke action
-- Find files on your hard disk.
-- Peak into files to let you locate word processing
spreadsheet and other application files by their
contents.
If PSEARCH is executed without parameters menus, guide
you through the entire searching process.
PS [~][!][;][filespec] /F/DR:xx ... plus other parameters shown below
------------------------ GENERAL COMMAND PARAMETERS ------------------------
/F - Locate file (not text search) /E - Show directory tree
/A - Search all directories /DR:xyz Scan drives x,y,z
/P - Pause after every match /MO - Pause when screen full
/PR - Print output on printer /PF - Print output to file
/AR - Find Files in .ARC files /AO - Only process .ARC files
/N - N:nnn Select files < n days old /O - O:nnn Select if > n days old
/S - Scan/Peak into file & show words /SO - Set Sound Off
/AT: [U][H][S][R] Select Updated, Hidden, System, or Readonly file files
----------------- TEXT SEARCH RELATED PARAMETERS ---------------------------
/T - T:text Text to be found /C - Case sensitive search
/D - Display matching records /M - Show all matches
/FW - Find text as a word /FP - Find text as word prefix
/FS - Find text as word suffix /SK - Skip COM,EXE and BAT files
----------------- EXECUTE COMMAND FOR SELECTED FILES -----------------------
/X - X:cmd & aa Execute command for each found file
The following characters found in command are replaced as follows:
& - Path name ! - File name without extension @ - / for parms
# - file name ~ - Name of file in .ARC
/XF:cmd & aa Like /X to command file /XP:cmd & aa Like /X with Pause
SPECIAL FILENAME SEARCHING CONTROL CHARACTERS
The filename specification may contain a full DOS pathname including
the standard DOS wildcard characters * and ?. In addition the
special characters '~', '!', or ';' may be placed immediately
before the filename to indicate special filename find criteria.
~ SOUNDEX -- Select any filename that sounds like the specified name
~WORD would select WORD WOOORD WRD WOOD WORLD
; NOVOWEL -- Select equal filenames but ignore vowels AEIOU in name
!WOORD would select WoRD WoooRD WieRD WRD
! CHARS -- Select any filenames that contain the characters entered
!WD would select WorD.dat WilDone.dat lstWorD.x
-----------------------------------------------------------------------
PTOUCH -- Gives you a utility to change directory dates on
DOS files. Not often needed but very handy for those
special situations. For instance, have you ever found
yourself working on your system with the incorrect
system date sent? PTOUCH can scan for files with
incorrect dates and set them to any value you desire.
Command: PTOUCH file_spec [switches (below)]
*** if /N or /I are not specified, current date and time used ***
/N:mm/dd/yy or mm-dd-yy or ddmmmyy = New date to assign
/I:hh:mm = New time to assign (24 hour clock)
/D: [(] [)] [=] days/date = Select based on date or days
/F:filename = First - Start when this file found in directory scan
/L:filename = Last - Stop after this file is processed
/A = DOS Archive. Process files updated since last backup
/M = More. Stop at end of each screen of output
/P = Pause before each file is processed. Ask of OK
/T = Test command parameters. Don't actually process files
-----------------------------------------------------------------------
PALERT -- Watches your disk space to make sure you know when
it gets low. Great for when you are running applications
line that can't recover from insufficient disk space
problems. PALERT keeps you out of trouble.
Command: PALERT [drive:] /switches shown below
/Wppp = Warn me if less than ppp percent of disk space is left.
/Bbbbb = Warn me if less than bbbb K characters of disk space is left.
/N = I don't want space scale shown on the screen.
/M = Don't print any messages unless warning given.
/P = Don't pause after a warning message issued.
/S = Don't sound warning beep.
/C = Don't show help reminder message.
/H = Show help screens.
-----------------------------------------------------------------------
PDAILY -- I have some commands in my AUTOEXEC.BAT file that I like
to execute once per day. These are personal management
programs and disk cleanup routines. I use PDAILY to
allow these commands to automatically start the first
time I turn on the computer each day. Then, no matter
how many more times I restart the system they don't
get in the way. PDAILY controls routines you only
want done once per day. More than one activity
can be controlled.
PDAILY logfilename [options]
logfilename -- A filename/pathname that will be used to
store the status. If omitted PDAILY.DAT.
/H -- HELP
/N -- Just return value, don't indicate done today
/R -- Reset to not done today
/T -- Print messages showing what is happening
-----------------------------------------------------------------------
PATTR -- PATTR sets DOS attributes for the files or filename
wildcards you specify. Use it to set or reset
archive status on files or to protect/unprotect
files with the readonly attribute. Like the
other utilities, it provides advanced selection
criteria for determining the files to process.
Command: PATTR file_spec (wildcards ok) [switches (below)]
/D: [(] [)] [=] days/date = Select files based on date or days
/F:filename = First - Start when this file found in directory scan
/L:filename = Last - Stop after this file is processed
/M = More. Stop at end of each screen of output
/O = Omit all the files matching filespec. Process all others.
/P = Pause before each file is processed. Ask of OK.
/S = System. Searches all directories for specified filespec.
/SZ: [(] [)] Select files [<] or > file size. /SZ:)10000
/T = Test command parameters. Show what would happen without /T.
------------------------------------------------------------------
/SH = Select Hidden files /SS = Select System files
/SR = Select Readonly files /SA = Select Changed (archive files)
/SN = Select Files with Normal Attribute (Assumed if no other /Sx)
------------------------------------------------------------------
/HY = Set Hidden attr. on /HN = Set Hidden attr. off
/SY = Set System attr. on /SN = Set System attr. off
/RY = Set Readonly attr. on /RN = Set Readonly attr. off
/AY = Set Archive attr. on /AN = Set Archive attr. off