Another way to set the computer to clear the pagefile without directly editing the registry is: Click on the Start button Go to the Control Panel Administrative Tools Local Security Policy Local Policies Click on Security Options Right hand menu - right click on "Shutdown: Clear Virtual Memory Pagefile" Select "Enable" Reboot
If you want to clear the page file on each shutdown: Start Regedit
Dos Tips
and Short Filenames
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
Starting DOS Fast
Want to start it even FASTER without the mouse?
Change the shortcut properties of the DOS icon to something unique, like Ctrl-Alt-Z. Then to start DOS from within Win95/98?/NT just enter C-A-Z and poof! it's there. If you toggle away, and hit the shortcut sequence again, you'll get the "old" DOS box, not a new one.
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"
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
Adding DOSKEY to your DOS Window
One way to have DOSKEY available when you open a DOS window would be to have it in the AUTOEXEC.BAT file. This takes away conventional memory, even when you don't have a DOS window open. To only use DOSKEY when you open a DOS window:
Right click on your DOS shortcut Select Properties Click on the Program tab Add DOSKEY > NUL to the Batch File field You can also add /INSERT if you prefer
Showing DOS Error Codes
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.
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 ...
Entering Long Paths in a DOS Window
If you have to enter a long path and program name in a DOS window,
Open up the Explorer Go to the folder you want Drag it to the DOS window
Having DOS Programs Prompt for Input
When you normally create a shortcut for a DOS program, it does not prompt you for any input and just runs the program To change that, simply add a ? after the program name in the CMD field.
For example: C:\WINDOWS\COMMAND\EDIT.COM ? will start the DOS editor and prompt you for a file name to edit.