home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
util
/
dos
/
016
/
pdel.doc
< prev
next >
Wrap
Text File
|
1991-11-14
|
34KB
|
807 lines
P D E L E T E
-------------------------
Users Guide and Reference
-------------------------
Version 4.3
November 1991
Questions and support -- Patriquin's BBS 714-352-2825 (Data)
714-352-2820 (Voice)
714-352-1527 (FAX)
Copyright 1991 by Norm Patriquin
PDEL Users Guide/Reference Copyright 1991 N. Patriquin
----------------------------------------------------------------------
Table of Contents
What is PDELETE . . . . . . . . . . . . . . . . . . . . . 1
Features . . . . . . . . . . . . . . . . . . . . . . . . 2
Command Mode Parameters . . . . . . . . . . . . . . . . . 3
Setting of default parameters (DOS Environment) . . . . . 12
Examples . . . . . . . . . . . . . . . . . . . . . . . . 13
Registration. . . . . . . . . . . . . . . . . . . . . . . 14
Version History . . . . . . . . . . . . . . . . . . . . . 17
i
PDEL Users Guide/Reference Copyright 1991 N. Patriquin Page 1
----------------------------------------------------------------------
What is PDELETE
---------------
PDELETE is an advanced Delete command to be used in DOS operating
systems. It may be used in place of the DOS Erase and Delete
command or instead of it. Like other Patriquin utilities, PDELETE
gives you more control of command processing and provides a much
safer way to process files. PDELETE also provides several
features not found with the standard DOS command.
Unlike other delete utilities, PDELETE does support DOS paths and
wildcards. It keeps you aware of what files are being processed
and provides an emergency stop feature just in case you have
started something you feel is wrong.
PDELETE's file selection parameters provide you with numerous
options for specifying the files to be deleted. You may select by
directory, file, date, attribute, size, and even starting and
ending filename.
PDEL Users Guide/Reference Copyright 1991 N. Patriquin Page 2
----------------------------------------------------------------------
Features:
---------
** Advanced file selection
** Emergency STOP by pressing any key
** Delete entire directories and remove them from disk
** Optionally wipe file data from disk during delete to
prevent it from being recovered by unauthorized
person.
** Optional verify feature lets you approve each file
before it is deleted
** Optionally deletes HIDDEN / SYSTEM / READONLY files
** Delete files until specified freespace is available
** Advanced DOS Pattern capability. *TEST*.*
** Test feature allows you to try a command before
actually deleting any files.
** Deletes from multiple disk drives with a single command
** Accepts a list of files to be deleted.
** Exclusion capability allows files to be protected from
deletion.
PDEL Users Guide/Reference Copyright 1991 N. Patriquin Page 3
----------------------------------------------------------------------
Command Parameters
------------------
PDELETE allows several command parameter switches to be specified
to customize the process. All these parameters are optional.
The command format and switch parameters are described below. A
quick review of command parameters is always available by
entering the PDEL command with no parameters.
COMMAND FORMAT:
PDEL filespec,filespec,filespec [ (/ switches) ]
filespec Enter a DOS file specification. Pathnames and
standard DOS wildcard characters are allowed.
Multiple file specifications may be provided as shown in
the above example. Separate each filename pattern with
a single comma. For example:
PDEL *.BAK,*.BK!,*.TMP
Special pattern selection like *DISK*.* may be specified.
*DISK*.* would select all files that have the chars
'DISK' anywhere in the first portion of the filename.
*DI*S*K*.* type specification also works.
As an alternative, a file containing a list of input
files may be supplied. Create a file containing lines
with a filename or complete pathname on each line.
Provide this filename as the source filename to PDEL
and add an @ character before the name. The list of
files will be processed as if they were all specified on
the input command line. When the /S parameter is
specified, an input filelist may only contain file
names. It may not contain directory names.
For file list processing, PDEL understands the output
of the DOS DIR command. You may use the DOS
redirection feature to direct DIR output to a file,
edit the file to add or remove entries, and then
provide this to PCOPY as input. For example:
DIR A: >DIRLIST
(edit dirlist)
PDEL @DIRLIST B:
PDEL Users Guide/Reference Copyright 1991 N. Patriquin Page 4
----------------------------------------------------------------------
/A Archive - Selects only files that have been marked
updated by DOS. This flag is updated by DOS whenever
a files is processed with an intent to change or
create new data.
/BA Batch file processing. PDEL always check to determine if the
user has pressed a key to pause processing. This check
can interfere with programs that store keystrokes in the
keyboard buffer for subsequent processing. The /BA parameter
sets no-windows mode and disables the key press check to leave
stored keystrokes undisturbed.
/BW Forces PDEL to use monochrome colors even when it detects
color display environment. (Black & White)
/C Overrides /NC when /NC is placed in the DOS environment
variable. /C indicates to ask before deleting any files
if a file pattern of *.* is specified.
/C2 /C3
Specify /C2 or /C3 to display the window processing screen
in an alternative color scheme. To make this color
change permanent, specify the parameter in the DOS
environment variable.
PDEL Users Guide/Reference Copyright 1991 N. Patriquin Page
----------------------------------------------------------------------
/D:[(]xxx Date. Select files based on the relationship between
[)] their last update date and the date specified. This
[=] parameter includes a date or number of days value.
It may also contain a modifier that reverses or
modifies the use of the date specified.
When xxx contains a date the date is compared to the
last update date of the file. The last update date
of the file is the date contained in