HomeForumsWhat's newResources 
 
 
Windows 2000 (DOS Config)
Cecilia Chen - Oct 19, 2002
 Cecilia Chen Oct 19, 2002
Hey guys,

Does anyone know how to configure the dos box in Windows 2000, so that the file listings (DIR) comes out like Windows 98? In Windows NT the file listing is odd (reversed) from regular 98/Dos, with date first, time, directory, file size, name, ect.

Thanks, I really appreciate it!

 Link Hylia Oct 19, 2002
try:

dir /?

in Windows 98, it says:

/O List by files in sorted order.

sortorder N By name (alphabetic) S By size (smallest first)

E By extension (alphabetic) D By date & time (earliest fir

G Group directories first - Prefix to reverse order

A By Last Access Date (earliest first)

so, syntax would be :

Dir /O-

that is if they didn't change it.

 ExCyber Oct 19, 2002
The normal NT/2K/XP commandline shell is cmd.exe, but XP also comes with command.com, the DOS shell. I don't know about 2K, but see if you can find command.com somewhere in your hard drive; that should allow you to get the old behavior.

 megametalgreymon Oct 31, 2002
its still backwards with command.com under 2000 as well

dir /-n displays it as the old dos file naming in the usual order though (only with 8.3 filenames, which may or may not be a problem for you)

 Taelon Nov 1, 2002
Maybe the DIR command from Windows 98 will run in a Windows 2000 DOS box?

 antime Nov 1, 2002
DIR is an internal command.

 Taelon Nov 1, 2002
It is?

 antime Nov 1, 2002
Yep. Compared to your typical Unix shell command.com has some interesting choices... of internal commands.

 Link Hylia Nov 1, 2002
go into the Windows/Command directory

you will see some external commands, that you have probably used, like Format, Deltree, MEM, and Fdisk

or, it's in Win98, but should show up in 2k if you look hard enough.

the stuff that isn't shown, is built in to Command prompt, like CD, Dir, or Netstat.

 ChickenManDan Nov 1, 2002
Hey, I was curious and I tried all of those things and it doesn't work on my 2000 box. What gives? Doesn't the sort order only sort the row orders in which they appear but not the column order which is displayed?

 Taelon Nov 2, 2002
AUGHH! netstat is NOT part of command.com - that's a TCP/IP tool coming from the Unix world, and resides in C:\WINDOWS.

Back to the problem at hand, maybe there's a replacement DIR command available for download and use under Windows 2000? Might be worth trying a Google search.

 MasterAkumaMatata Nov 6, 2002

  
	
	
Originally posted by ChickenManDan@Nov. 01 2002, 11:17 pm

Hey, I was curious and I tried all of those things and it doesn't work on my 2000 box. What gives? Doesn't the sort order only sort the row orders in which they appear but not the column order which is displayed?


The suggestion megametalgreymon gave seems to be the closest. Observe:

dir in Windows 2000



dir/-n in Windows 2000



dir in Windows 98 SE


 Cecilia Chen Nov 9, 2002
Dir /-X Doesn't work?

 MasterAkumaMatata Nov 10, 2002
dir/-x in Windows 2000