Adding Safe-Boot to the Boot Menu
You can add Safeboot as an option to the normal XP boot screen
- Open a command prompt
- Copy the current c:\boot.ini to another name (just in case)
- With your favorite text editor, edit c:\boot.ini
- Copy then edit the current boot line to another line.
Example:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect might copy and then change to: multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional Safeboot" /fastdetect
- Start MSCONFIG
- Click on the BOOT.INI tab
- Highlight the second line with the additional name of Safeboot
- Check the /SAFEBOOT box with option you want Minimal - Minimal set of drivers Network - With Network Support Dsrepair - Directory Services Repair Minimal (Alternate Shell) - Standard Explorer Desktop
- You will now have this option every time you start XP

Printing a Directory
WindowsXP does not allow you to use previously describe methods for printing the contents of a directory. To do this requires the creation of a small batch file which is then added to your right-click options.
Batch File:
On the root of the C: drive, create a batch file called print_directory.bat with the following lines:
@echo off
dir %1 /o:g > c:\directory.txt
start /w notepad /p c:\directory.txt
del c:\directory.txt
exit
Note:
dir %1 /o:g will print with any directories listed first. You can add whatever other switches you like.
Adding to the Explorer Right Click
- Start the Explorer
- Go to Tools / Folder Options
- On the File Types tab, click File Folder.
- Click Advanced button and then click New.
- In the Action box, type Print Directory (or whatever text you want to appear).
- In the Application used to perform action box, type C:\print_directory.bat, and then click OK.
- Click OK, click OK, and then click Close
Fixing the Registry:
Sometimes after adding the right click with the Explorer, the default setting for opening a folder is changed. To correct this:
- Start Regedit
- Go to HKEY_CLASSES_ROOT \ Directory \ shell
- Edit the default value to be explorer or none
|