Archive for December, 2007

Corrupted System File And tips to recover it.

December 12, 2007 Posted By: Jim ~ Filed under Category: Windows

Welcome, Visitor. Subscribe to our RSS Feed and consider adding this article/site to your favorite social bookmark site if you find it useful. Thank you!

If a system file is corrupted, restore it from the Windows CD. Search the CD for the filename, replacing the last character with an underscore,
for example, Notepad.ex_.
If it’s found, open a command prompt and enter the command EXPAND, followed by the full pathname of the file and of the desired destination: EXPAND D:\SETUP\NOTEPAD.EX_ C:\Windows\NOTEPAD.EXE. If either pathname contains any spaces, surround it with double quotes.

If the file isn’t found, search on the unmodified filename. It will probably be inside a CAB file, which Win XP treats as a folder. Simply right-drag and copy the file to the desired location. In other Windows platforms, search for a file matching *.cab that contains the filename. When the search is done, open a command prompt and enter EXTRACT /L followed by the desired location, the full pathname of the CAB file, and the desired filename; for example: EXTRACT /L C:\Windows D:\I386\Driver.cab Notepad.exe. Again, if the destination or CAB file pathname contains spaces, surround it with double quotes.

Tags for the article:

    extracting wordpad from i386

Drop Files in Notepad

December 12, 2007 Posted By: Jim ~ Filed under Category: Cool tricks, Windows

Welcome, Visitor. Subscribe to our RSS Feed and consider adding this article/site to your favorite social bookmark site if you find it useful. Thank you!

You can read the text from any file by dragging the file from Windows Explorer into notepad. For example, if you wanted to read a .cfg file, you can open notepad and then drag the file into notepad to read the configurations stored in the file.

Here’s how to do it:

1. Open Notepad by clicking Start–>All Programs–>Accessories–>Notepad.
2. Open Windows Explorer and browse to the file from which you want to read text.
3. Drag and drop the file from Windows Explorer into Notepad. The text in the file appears in notepad.


Print Directory OptionTo Explorer

December 10, 2007 Posted By: Jim ~ Filed under Category: Cool tricks, Hacks, Registry tweak, Tweak

Welcome, Visitor. Subscribe to our RSS Feed and consider adding this article/site to your favorite social bookmark site if you find it useful. Thank you!

Batch file that will print from the context menu (right click) in explorer.

1.Open notepad and copy and paste this:

@echo off
dir %1 /-p /o:gn > “%temp%\Listing”
start /w notepad /p “%temp%\Listing”
del “%temp%\Listing”
exit

2.Save the file as Pdirectory.bat in the Windows directory.
3. Start Explorer, click Tools, and then click Folder Options.
4. Click the File Types tab, and then click File Folder.
5. Click Edit, and then click New.
6. In the Action box, type Print Directory Listing.
7. In Application used to perform action, click Pdirectory.bat, and then click OK.
8. Click OK, click Apply, and then click OK.
Done… Now you will be able to right click on a directory and print out a listing!.

UPDATE: I had a problem with printing sometimes, if you get it just do a quick Reg fix:

Hive: HKEY_CLASSES_ROOT
Key: Directory\Shell
Name: Default
Data Type: REG_SZ
Value: none

Once you set the value of Default to none, at the location above, all is fine.