1.

Solve : Help with a DOS command?

Answer»

I have a custom built computer whose HD crashed. I am reinstalling everything on the new HD but FORGOT how to enter a command in the autoexec.bat file.

I am looking of a SET DIRCMD command which would alphabetize the directories & root directory with all directories first & then the files. I REMEMBER there was a “G” in this command.

Does anyone know the command I am looking for?
The G sortorder was used in tandem with the /o switch to GROUP directories first. Something like this:

set dircmd = /o:g

Run dir /? at the command prompt to see all the switches and options that are available.

Good luck. 8-)Would the following be the proper syntax INCLUDING spacing:

set dircmd= /o:g,nWithout an explanation of what your trying to ACCOMPLISH, this is only a guess:

set dircmd=/o:gn

8-)



Discussion

No Comment Found