AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages! You are not logged in. Login here for full access privileges. |
Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
|
||||||
From | To | Subject | Date/Time | |||
Visitor | JOHN (VMB SYSTEM OPERATOR | SWEEP.COM |
August 14, 1995 3:04 AM * |
|||
J(SO> can anyone help me with a simple batch file that I could run J(SO> occaisionally to delete files with the extension .&&& in all J(SO> directories on my hard drive? PC Magazine's sweep.com should work, "sweep del *.&&&" from the root directory. Command No. 31 ______________________________________________________ Purpose: Causes a command to be successively executed in every subdirectory on a hard disk. Format: SWEEP Command [parameter(s)] Remarks: SWEEP starts from the current directory. In order to use SWEEP to extend the range of a command to all the subdirectories on a disk, use CD (if necessary) to make the root directory your current directory. From the root directory, the command SWEEP DIR will display the listings, by subdirectory, of every non-hidden file on the disk. To erase all the .BAK files on a disk you need only get into the root directory and issue the command SWEEP DEL *.BAK SWEEP itself will not accept parameters other than its command. Thus, if you are on drive C: and wish a directory of all files on drive D: to be sent to your printer, you must first make drive D: the current drive before you issue the command SWEEP DIR > LPT1 (In this case you would either need a copy of SWEEP.COM on drive D: or else drive D: would have to be listed on your PATH.) SWEEP can execute .BAT file commands (and even non-DOS commands, such as LOCATE.COM). A useful file called CLEAN.BAT might consist of the three lines DEL *.BAK DEL *.TMP DEL *.OBJ From the root directory, if you then enter SWEEP CLEAN all .BAK, .TMP, and .OBJ files will be erased from the disk. Notes: 1. Requires DOS 2.0 or later. -+-+-------------------------------------------------------------- n SWEEP.COM e100 E9 AD 0 D A ">>> SWEEP >>> "0 ":\(C) Copyright Charles Petzo" e131 "ld, 1985"1A "Needs DOS 2.0 +$Allocation Problem$SWEEP: COMM" e168 "AND Problem$SWEEP: Abnormal Exit$"0 0 0 "COMSPEC="0 0 0 0 0 e199 0 "}"0 0 0 "\"0 0 0 "l"0 0 0 "*.*"0 ".."0 8F 4 0 B4 "0"CD "!" e1B4 "<"2 "s"9 BA ":"1 B4 9 CD "!"CD " "86 C4 A3 89 1 BC 8F 4 BB e1CA FE 9 B1 4 D3 EB B4 "J"CD "!s"5 BA "J"1 EB E0 6 BB ","0 8E 7 e1E1 "+"FF BE 8C 1 FC "&"80 "="0 "t"14 "VW"B9 8 0 F3 A6 "_^t"F "*" e1F9 C0 B9 FF FF F2 AE EB E6 7 BA "]"1 EB B4 83 C7 8 89 ">"94 1 8C e20F 6 96 1 8C 6 98 1 8C E 9C 1 8C E A0 1 8C E A4 1 7 A0 80 0 4 3 e228 A2 "}"0 C6 6 "~"0 " "C7 6 7F 0 "/C"B8 0 "3"CD "!"88 16 8B 1 e23F "*"D2 B8 1 "3"CD "!"BA "<"3 B8 "#%"CD "!"B4 19 CD "!"4 "A"A2 e255 13 1 BE "O"3 "*"D2 B4 "G"CD "!"BE 16 1 "*"D2 B4 "G"CD "!"BE 3 e26B 1 FC AC A C0 "t"8 8A D0 B4 2 CD "!"EB F3 B9 F4 1 B4 B CD "!" e281 E2 FA 81 ">"89 1 A 3 "r"C B2 D B4 2 CD "!"B2 A B4 2 CD "!"BB e298 98 1 C5 16 94 1 "*"C0 B4 "K"CD "!"8C C8 8E D8 8E C0 8E D0 BC e2AD 8F 4 9C "*"D2 B8 1 "3"CD "!"8A 16 13 1 80 EA "A"B4 E CD "!"9D e2C3 BA "]"1 "r"C BA 15 1 B4 ";"CD "!s"A BA "t"1 B4 9 CD "!"EB "b" e2DA 90 8B 16 AD 1 B4 1A CD "!"80 ">"AF 1 0 "u"C BA A6 1 B9 10 0 e2F0 B4 "N"CD "!"EB 4 B4 "O"CD "!r%"8B 1E AD 1 F6 "G"15 10 "t"F0 e306 83 C3 1E 80 "?.t"E8 8B D3 B4 ";"CD "!"83 6 AD 1 "+"C6 6 AF 1 e31D 0 E9 "?"FF 81 ">"AD 1 8F 4 "t"13 83 "."AD 1 "+"C6 6 AF 1 FF e333 BA AA 1 B4 ";"CD "!"EB 9F BA "N"3 B4 ";"CD "!"8A 16 8B 1 B8 1 e349 "3"CD "!"CD " \" rCX 24F w q CRC32=7BCE8B84 * CSCRIPT 2.0 * -+-+-------------------------------------------------------------- Save the script between the hash marks to an ASCII file. At the DOS prompt enter, "DEBUG < filename" where "filename" is the name of the saved ASCII file. ___ Blue Wave/QWK v2.12 |
||||||
|
Previous Message | Next Message | Back to BAT Magic <-- <--- | Return to Home Page |
Execution Time: 0.0188 seconds If you experience any problems with this website or need help, contact the webmaster. VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved. Virtual Advanced Copyright © 1995-1997 Roland De Graaf. |