home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / misc / 29136 < prev    next >
Encoding:
Internet Message Format  |  1992-09-02  |  1.7 KB

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!ogicse!unmvax!constellation!a.cs.okstate.edu!cummins
  2. From: cummins@a.cs.okstate.edu (CUMMINS JOHN WILLI)
  3. Newsgroups: comp.os.os2.misc
  4. Subject: Re:  OddeSsy2:  the installation from Hell
  5. Message-ID: <1992Sep3.004923.25723@a.cs.okstate.edu>
  6. Date: 3 Sep 92 00:49:23 GMT
  7. Article-I.D.: a.1992Sep3.004923.25723
  8. References: <lavalite.715449333@well.sf.ca.us>
  9. Organization: Oklahoma State University, Computer Science, Stillwater
  10. Lines: 50
  11.  
  12. I had no problem munging my *. sf files in the root directory of my FAT disk
  13. after booting dos 5.0  
  14.  
  15. I unsystemed / unhid them before defragging the disk.  I used Norton to
  16. defrag... but dos to change 'em into "normal" files.
  17.  
  18. Here's a batch file I used....
  19.  
  20. -----------------
  21.  
  22. @echo off
  23. rem List the hidden and system files in case you want to re-hide 'em!
  24. dir /as /s > system.dir
  25. dir /ah /s > hidden.dir
  26. rem Unhide EVERYTHING  (leave off the /s to just hit the directory you're in
  27. attrib -h -s /s
  28. \nu\sd
  29. rem reset attributes on files I care to reset them on....
  30. attrib +h +s \IO.SYS
  31. attrib +h +s \MSDOS.SYS
  32. attrib +h +s \*.?SF
  33. attrib +h +s \OS2???*.
  34. attrib +h \os2\system\boot.os2
  35. attrib +h \sd.ini
  36. echo Was System.... > temp1
  37. type system.dir     >> temp1
  38. cls
  39. call more temp1
  40. pause
  41. echo Are System...  > temp1
  42. dir /as /s          >> temp1
  43. cls
  44. call more temp1
  45. pause
  46. echo Was Hidden...  > temp1
  47. type hidden.dir     >> temp1
  48. cls
  49. call more temp1
  50. pause
  51. echo Are Hidden...  > temp1
  52. dir /ah /s          >> temp1
  53. cls
  54. call more temp1
  55. del temp1
  56.  
  57. -------------------------------------------------
  58.  
  59. So.... it's not elegant.  But it WORKS FOR ME!!!!
  60.  
  61. jc
  62.