home *** CD-ROM | disk | FTP | other *** search
- 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
- From: cummins@a.cs.okstate.edu (CUMMINS JOHN WILLI)
- Newsgroups: comp.os.os2.misc
- Subject: Re: OddeSsy2: the installation from Hell
- Message-ID: <1992Sep3.004923.25723@a.cs.okstate.edu>
- Date: 3 Sep 92 00:49:23 GMT
- Article-I.D.: a.1992Sep3.004923.25723
- References: <lavalite.715449333@well.sf.ca.us>
- Organization: Oklahoma State University, Computer Science, Stillwater
- Lines: 50
-
- I had no problem munging my *. sf files in the root directory of my FAT disk
- after booting dos 5.0
-
- I unsystemed / unhid them before defragging the disk. I used Norton to
- defrag... but dos to change 'em into "normal" files.
-
- Here's a batch file I used....
-
- -----------------
-
- @echo off
- rem List the hidden and system files in case you want to re-hide 'em!
- dir /as /s > system.dir
- dir /ah /s > hidden.dir
- rem Unhide EVERYTHING (leave off the /s to just hit the directory you're in
- attrib -h -s /s
- \nu\sd
- rem reset attributes on files I care to reset them on....
- attrib +h +s \IO.SYS
- attrib +h +s \MSDOS.SYS
- attrib +h +s \*.?SF
- attrib +h +s \OS2???*.
- attrib +h \os2\system\boot.os2
- attrib +h \sd.ini
- echo Was System.... > temp1
- type system.dir >> temp1
- cls
- call more temp1
- pause
- echo Are System... > temp1
- dir /as /s >> temp1
- cls
- call more temp1
- pause
- echo Was Hidden... > temp1
- type hidden.dir >> temp1
- cls
- call more temp1
- pause
- echo Are Hidden... > temp1
- dir /ah /s >> temp1
- cls
- call more temp1
- del temp1
-
- -------------------------------------------------
-
- So.... it's not elegant. But it WORKS FOR ME!!!!
-
- jc
-