🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos.programmer
Article #373

Re: Need DOS batch help!

#373
From: Jeff Miller
Date: Wed, 12 Aug 1992 20:52
19 lines
1219 bytes
This might be cheating, and I'm doing it from the top of my head, but...

DEL_TEMP.BAT:
@ECHO OFF
c:
cd \TEMP
ATTRIB +r GEST.BAT
ECHO Y | DEL *.*
ATTRIB -r GEST.BAT
cd \

Note that this assumes ATTRIB is in the path, and that the "ECHO" line
works...I'm pretty sure it does.

-- 
 _____________________________________________________________________________
|                                                                             |
| "Nuke the unborn gay whales!" |  millerje@cs.colostate.edu  |  Jeff Miller  |
|_____________________________________________________________________________|
Technical Details
Message-ID: <Aug12.205259.33186@yuma.ACNS.ColoState.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!yuma!millerje
References: <92225.09262732BFPQ3@CMUVM.CSV.CMICH.EDU> <1992Aug12.141526.25165@athena.mit.edu>

Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!yuma!millerje
From: millerje@CS.ColoState.EDU (Jeff Miller)
Subject: Re: Need DOS batch help!
Sender: news@yuma.ACNS.ColoState.EDU (News Account)
Message-ID: <Aug12.205259.33186@yuma.ACNS.ColoState.EDU>
Date: Wed, 12 Aug 1992 20:52:59 GMT
References: <92225.09262732BFPQ3@CMUVM.CSV.CMICH.EDU> <1992Aug12.141526.25165@athena.mit.edu>
Nntp-Posting-Host: mozart.cs.colostate.edu
Organization: Colorado State University, Computer Science Department
Lines: 19