home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Lion Share
/
lionsharecd.iso
/
utils_mz
/
xrm21.zip
/
XRM2.DOC
< prev
Wrap
Text File
|
1992-06-30
|
5KB
|
130 lines
Xremove 2.0
written by Edmond Leung
12/03/91
CompuServe UID 70143,2217
Xremove 2.0 is a combination of pervious version of Xdel 1.3 and Xremove 1.1
With the new command line options. You can choose to search of multipule files
or directories for deletion, display directories tree, remove empty
directories, search files by attribute.
You are free to make copies of Xremove under two conditions.
1) Main program and this documentation file are together.
2) No modification have been made to both files.
Usage: XRM <-f|-d>[options...] [drive][path]<sub-directory|filespec>
command -d search and remove sub-directories.
-f search for files
options a include All type of files
s include System files
h include Hidden files
r include Read-only files
e remove Empty directories, default is on only when used with
command -d
x eXclude sub-directories search, Xremove will search through
all lower sub-directories by default
t display directories Tree
u Unconditional delete. No confirmation before Xremove delete
files or sub-directories.
p Pause between directory tree pages
q Quiet mode (no messages, except prompts)
No space should be added between options and command switch.
command prefix must be character '-'
File attribute
--------------
Without a,s,h,r options, only normal files will be included. When applying
s,h,r options, normal files will always included plus files with the same
attribute on. Use option 'a' will search all type of files.
Remove empty sub-directories
----------------------------
When using command -f with the 'e' options, empty directory will be removed
during deletion. This option is on by default when use command -d to remove
directories.
Exclude sub-directories search
------------------------------
Xremove will search through sub-directories by default. When 'x' is added
with command -f, only current directory will be searched. With command -d,
no lower sub-directories will be removed, only all files in current directory
will be deleted. Neither directories tree nor directories report will be
displayed when eXclude sub-directories option is on.
Display directories tree
------------------------
't' option will take effect only when used with command -d. With this option,
Xremove will display a directories tree from current directory or from given
drive and path. An '*' appear after the sub-directory name indicate it
is an empty sub-directory. Press any key to pause and continue the display.
Unconditional delete
--------------------
Xremove will not stop and ask you to confirm the deletion of files or removal
of empty directories when 'u' is added. But error messages or summary will
still display when Xremove terminated. For calling Xremove from a batch file,
use with 'q'uiet option. Four different errorlevel will be set when Xremove
terminate. Only use this option when you know exactly what files and
directories will be deleted!
Page pause
----------
When 'p' option is used. Screen will pause when directory tree is longer than
one screen page. Press 's' to disable the page pause or any other key will
pause again when another screen. Without this option, you can still pause and
continue the screen by hitting any key.
Quiet mode
----------
When 'q' is applied. No summary or messages will be displayed. Only
confirmation prompts will display when 'u' option is not used. Combination
of 'u' and 'q' options will not display any message all through the process.
Summary
-------
Xremove will display a summary of the number of sub-directory, file found and
deleted when the program terminate or you quit at the middle of the operation.
When eXclude sub-directories is on, no summary of directory will reported.
Errorlevel
----------
0 files or directories found and deleted.
1 bad command or options, file not found, no files or
directories have been deleted.
3 matching filename were found, but file attribute does not
match. Matching filename with normal and/or with archive flag
on, or files with same attribute were deleted.
5 User abort operation when Xremove ask for confirmation on
delete files or remove sub-directories.
Registration
------------
If you find Xremove 2.0 helpful, easy to use, a registration of US$10
will be appreciated. And you will receive future version automatically.
Please state the version of the software that you currently have.
Send money order to address:
Edmond Leung
2434 Echo Park Ave
Los Angeles, CA 90026
USA
Credits
-------
Special thanks to Johnny Chu, my good friend who gave me comments on Xremove.
Download every updated beta version of Xremove, take the risk of data loss
to beta test Xremove. This will never worked out without his patience.
Thanks Johnny.
Thanks for your support and more 'X' series utilities are coming soon to
make your DOS computing life easier.