Tips and Trick: Useful DOS Command

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

Removing the Microsoft Copyright from a DOS Prompt

By default, when you open a DOS window, the Microsoft Copyright notice shows.
To disable it, add the /K switch in the Program tab
For example: C:\WINDOWS\COMMAND.COM /k

Long Filenames in a DOS Box

More long filenames in DOS paths...
You don't need the close double quote when entering long folder names in DOS.
CD "\program files
works as well as
CD "\program files"

Changing Directories in DOS

Normally, you can move up one directory level by typing CD ..
The DOS with Windows95 allows you to continue moving up beyond the first directory by simply adding more periods
For example, to move up two levels, type CD ...

Related links: