I maintain a Windows 98SE machine for lots of reasons (Star Commander, SIO-2-PC, ADTPro, 3.5" and 5.25" PC Floppies, RS-232 port, Zip, Jazz, CD-ROM, Ethernet, etc). It is a very useful box.
I also tend to boot to a command prompt a lot on this box, but Windows 98SE uses MS-DOS version 7.1 which has some differences from MS-DOS 6.22.
Mostly this is no big deal, but I do miss the nice DEFRAG command (from MS-DOS 6.22) that would not only defragment your drive but also allow you to sort the directory structure alphabetically. This helped to soothe my file system OCD immensely.
I'm looking for a similar tool I can use from MS-DOS 7.1 (or Windows 98SE if need be) to sort my folders. I've checked the Windows 98 version of Defrag, but alas, it doesn't seem to allow for the nifty alpha sorting that was available in earlier versions.
I've considered trying to run the MS-DOS 6.22 version but suspect it will either complain about being the wrong version, or worse, screw up my filesystem. So..
Does anyone know of a command line tool or Windows 98 utility that will safely and reliably allow me to alpha-sort my directories?
set DIRCMD=/o
in your AUTOEXEC.BAT file. – user722 Jun 21 '17 at 16:06ds
tool that would, on any given directory, sort the directory entries. If you're using the "DOS" of Win98SE, though, it may not work; Win98SE was the first of the (consumer) Windows editions that wasn't built on DOS. (Win98 not SE was built on DOS - the last version that was essentially a supershell for DOS) – Jeff Zeitlin Jun 22 '17 at 11:44dir
to list them in the right order. – JeremyP Jul 3 '17 at 15:13