Friday, August 29, 2008

Desktop Shutdown and Reboot Icons in XP

Right click on the desktop, Click New->Shortcut to open the Create Shortcut Wizard. Type following(given below) in the location field as per requirement. Click Next and type a desired name for your shortcut icon.

Type shutdown -s -t 00 for Shutdown.
Type shutdown -r -t 00 for Restart.
Type shutdown -l -t 00 for Logoff.
Type shutdown -h -t 00 for Hibernate.
Type shutdown -a for Anti shutdown.
Type rundll32.exe user32.dll LockWorkStation for Fast User Switching.

For customizing Right click the made shortcut, click Properties->Shortcut->Change Icon and choose from the displayed icons.


#U dont wanna to know: press F11 for full screen Internet explorer

Sunday, August 3, 2008

Deleting an Undeletable, Currently In-Use Files/Folder in Windows

Problems :
- It may be fully Empty(null size).
- 'File/Folder in use' error.
- Can't delete a file/folder (insert cryptic reason).
- Rebooting doesn't help delete the file.

Open command prompt in windows (run 'cmd' ).

Go to the directory where undeletable file/folder is.

Now, close the explorer.exe process from the task manager.

Enter rd "folder name" for directory & del "file name" for file.

Now your undeletable folder/file is deleted.