home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / misc / 6219 < prev    next >
Encoding:
Text File  |  1992-11-19  |  1.6 KB  |  37 lines

  1. Newsgroups: comp.os.msdos.misc
  2. Path: sparky!uunet!mcsun!Germany.EU.net!rz.uni-hildesheim.de!ix.de!hm
  3. From: hm@opus40.ix.de (Harald Milz)
  4. Subject: Re: HELP: can't get rid of a directory called "LPT1"
  5. Message-ID: <1992Nov19.123616.12091@opus40.ix.de>
  6. Sender: hm@opus40.ix.de (Harald Milz)
  7. Organization: iX-Redaktion
  8. References: <1103@wspcrd.PeachtreeCityGA.ncr.com> <ic#@byu.edu>
  9. Date: Thu, 19 Nov 1992 12:36:16 GMT
  10. Lines: 25
  11.  
  12.  
  13. In article <ic#@byu.edu>, $dougn@sasb.byu.edu (Douglas R. Nebeker - MIS_SAS) writes:
  14. |> In article <1103@wspcrd.PeachtreeCityGA.ncr.com> jrs@wspcrd.PeachtreeCityGA.ncr.com (Jim Shockey) writes:
  15. |> >Hi. I had a directory named "RPT1" which I erased the other day.  While I
  16. |> >attempt to recover it using Norton Utilities I gave it a wrong name -- "LPT1"
  17. |> >and now I can't do anything about it.  All I want to do is to erase it.
  18. |> >Please help me. Please, please, please...
  19. |> 
  20. |> 
  21. |> I'll bet DEL ?PT1 will do the trick.
  22. |> 
  23. |> Good Luck
  24.  
  25. Probably not because the command line expansion is done by COMMAND.COM
  26. before the system call UNLINK is performed. DOS then tries to delete the file
  27. LPT1 but starts its search at the internal files, i.e. CON,PRN, AUX etc inluding
  28. LPT1. 
  29.  
  30. Sorry.
  31. What you can do is directly patch your dir's directory entry. Norton could help. 
  32. -- 
  33. |Dipl.-Ing. Harald Milz                   |    EMail:        hm@ix.de |
  34. |iX - Multiuser Multitasking Magazin      |    FAX:    +49 511 547 47 33 |
  35. |D-3000 Hannover 61, Helstorfer Str. 7    |    Tel.:   +49 511 547 47 66 |
  36. None of the above statements are intended to be coincident with opinions
  37.