Thread View: alt.msdos.programmer
3 messages
3 total messages
Started by Michael D. Beynon
Thu, 13 Aug 1992 13:47
Re: DOS batch help!
Author: Michael D. Beynon
Date: Thu, 13 Aug 1992 13:47
Date: Thu, 13 Aug 1992 13:47
18 lines
915 bytes
915 bytes
Just a note ...
The fastest, easiest way to delete files:
Not --> for %l in (*.*) do del %l
Not --> echo y >y.dat
del *.* <y.dat > nul
Yes --> echo y | del *.* > nul
I'll admit it is very much like the 2nd one listed, but it has a very good
advantage... Not temporary file y.dat is created. It's just cleaner.
Thanks.
Michael D. Beynon
beynon@nnn.crd.ge.com
Re: DOS batch help!
Author: Patrick Taylor
Date: Thu, 13 Aug 1992 19:22
Date: Thu, 13 Aug 1992 19:22
12 lines
976 bytes
976 bytes
Boy this guy got plenty of responses on his batch file question.
How many do you suppose had bugs? ;-]
----------------------------------------------------------------------------
"This must be Thursday. I never could get the hang of Thursdays"
- D Adams
- Patrick Taylor
Ericsson Network Systems
exuptr@exu.ericsson.se "Don't let the .se fool you"
alternately, exuptr@ZGNews.Lonestar.Org
Re: DOS batch help! yes, 4dos is your friend
Author: n liu
Date: Thu, 13 Aug 1992 23:14
Date: Thu, 13 Aug 1992 23:14
14 lines
832 bytes
832 bytes
Screw vanilla dos: del_temp.btm: @if isdir c:\temp except (gest.bat) del /y c:\temp\*.* or even better: alias del_temp if isdir c:\temp except (gest.bat) del /y c:\temp\*.* As usual, 4dos to the rescue -- nyet@cco.caltech.edu nyet@aerospace.aero.org
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads