If you want to see what error codes are being generated by DOS programs,
start your DOS session with the addition of a /Z parameter to the COMMAND.COM program.
Job links
Wednesday, March 16, 2011
Expanding Full Path or File Name
Expand full path/file name with defined char using Command Prompt in Win NT 4.0
You can expand the full name of a file or directory using a character of your choice.
Close all Command Prompts
Start the Registry Editor
Open HKEY_CURRENT_USER\Software\Microsoft\Command Processor
If not present, add Key: CompletionChar
If you like to use TAB-Key for expand: set value (REG_SZ): "9"
You can test it:
Open up a DOS window
Type: CD (followed by TAB)
The first available directory will appear
Press TAB again, the next one will appear
The same can be done with the DIR command
You can expand the full name of a file or directory using a character of your choice.
Close all Command Prompts
Start the Registry Editor
Open HKEY_CURRENT_USER\Software\Microsoft\Command Processor
If not present, add Key: CompletionChar
If you like to use TAB-Key for expand: set value (REG_SZ): "9"
You can test it:
Open up a DOS window
Type: CD (followed by TAB)
The first available directory will appear
Press TAB again, the next one will appear
The same can be done with the DIR command
Showing Long and Short Filenames
There are two additional switches that can be used when doing a DIR
/B - Shows only the long filename, no details
/Z - Shows the short filename, with details
/B /Z - Shows only short filename, with no details
/B - Shows only the long filename, no details
/Z - Shows the short filename, with details
/B /Z - Shows only short filename, with no details
Changing a File's Date and Time Stamp
You can change the Date and Time stamp of a file to the current setting.
Type:
COPY filename /B + ,, /Y
Type:
COPY filename /B + ,, /Y
Subscribe to:
Posts (Atom)