This tip was submitted to the searchWin2000 Tip Exchange by member Bill Freed. Let other users know how useful it is by rating the tip below.
The environment variable DIRCMD can be used to set default "dir" command options.
set dircmd=/p /x /o:-dwill result in all dir commands to
/o:-d sort files by date order (newer to older) /p pause after each screen /x display short file namesYou may have to play with the order of the options to get them all to work... You can use either a System or a User Environment Variable.
This was first published in March 2002