home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / os2 / misc / 40141 < prev    next >
Encoding:
Text File  |  1992-12-22  |  2.0 KB  |  44 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!psinntp!openwx!mikel
  3. From: mikel@networx.com (Mike Lempriere)
  4. Subject: Re: A really undeleteable file (Yes I tried everything in the FAQ)
  5. Message-ID: <1992Dec22.002715.18447@networx.com>
  6. Sender: usenet@networx.com (Usenet News Account)
  7. Organization: NetWorx
  8. X-Newsreader: TIN [version 1.1 PL6]
  9. References: <4691@copper.Denver.Colorado.EDU>
  10. Date: Tue, 22 Dec 1992 00:27:15 GMT
  11. Lines: 31
  12.  
  13. Ronald J. Vaniwaarden (rvaniwaa@copper.denver.colorado.edu) wrote:
  14. : Well, I think I have the ultimate in undeletable files.  While I was 
  15. : installing the Trident 32-bit drvers, I rebooted from a floppy to
  16. : change the 'in-use' files and while at the command line, I tried to print
  17. : out a file.  What I did was type fname.txt > lpt1.  Well, nothing
  18. : was printed and I searched to find the old copy of thes file.  When I
  19. : rebooted, there was this file called lpt1 and it is undeleteable.  I
  20. : tried the drag to a folder and delete the folder but I am not allowed
  21. : to move the file.  If I try to delete it, it says it \dev\lpt1  Sys0003:
  22. : the system cannot find the path specified.
  23. : If I try the gnu rm, it says rm:can't force write permission for c:/lpt1:
  24. : no such file or directory.
  25. : suggestions??
  26. : --Ronald Van Iwaarden
  27. ------------------------------------------------------------------------------
  28. The problem is that you created the file on a system that did not have
  29. the printer driver installed -- "lpt1" is a "special" filename caught by
  30. the driver.  When you booted from floppy, the driver was not present,
  31. so the filesystem just treated it like any other file, and created it.
  32. Now that you're running a normal system, with the driver installed, you
  33. can't get at it -- now it is being treated as a "special" file.
  34.  
  35. You have two options:
  36. a)  Just reboot from floppy, the same way you got into this mess, then
  37.     delete it.
  38. b)  Edit your config.sys, rem'ming out the printer driver.  Reboot.
  39.     Delete the file.  Re-edit your config.sys to put the printer driver
  40.     back in.  Reboot.
  41.