This tip was submitted to the searchWin2000 Tip Exchange by member Bill Freed. Let other users know how useful...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.