home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / alt / msdos / programm / 2186 < prev    next >
Encoding:
Text File  |  1992-08-12  |  1.2 KB  |  32 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!csn!yuma!millerje
  3. From: millerje@CS.ColoState.EDU (Jeff Miller)
  4. Subject: Re: Need DOS batch help!
  5. Sender: news@yuma.ACNS.ColoState.EDU (News Account)
  6. Message-ID: <Aug12.205259.33186@yuma.ACNS.ColoState.EDU>
  7. Date: Wed, 12 Aug 1992 20:52:59 GMT
  8. References: <92225.09262732BFPQ3@CMUVM.CSV.CMICH.EDU> <1992Aug12.141526.25165@athena.mit.edu>
  9. Nntp-Posting-Host: mozart.cs.colostate.edu
  10. Organization: Colorado State University, Computer Science Department
  11. Lines: 19
  12.  
  13. This might be cheating, and I'm doing it from the top of my head, but...
  14.  
  15. DEL_TEMP.BAT:
  16. @ECHO OFF
  17. c:
  18. cd \TEMP
  19. ATTRIB +r GEST.BAT
  20. ECHO Y | DEL *.*
  21. ATTRIB -r GEST.BAT
  22. cd \
  23.  
  24. Note that this assumes ATTRIB is in the path, and that the "ECHO" line
  25. works...I'm pretty sure it does.
  26.  
  27. -- 
  28.  _____________________________________________________________________________
  29. |                                                                             |
  30. | "Nuke the unborn gay whales!" |  millerje@cs.colostate.edu  |  Jeff Miller  |
  31. |_____________________________________________________________________________|
  32.