Monday, December 27, 2010

Hidden commands in windows

Without mysteries, life would be very dull indeed. What would be left to strive for if everything were known?
Just like the commands of Windows, The true mystery of the world is the visible, not the invisible. If you turn the pages and insert your head in the basic of Windows then there are some thing to explore, here are few examples of some hidden secret commands in Windows:

1. ‘systeminfo’
It boasts how long it can stay up. Whereas previous versions of Windows were coy about how long they went between boots, XP is positively proud of its stamina.
Go to the Command Prompt in the Accessories menu from the All Programs start button option, and then type ‘systeminfo’. The computer will produce a lot of useful info, including the uptime. If you want to keep
these, type ‘systeminfo > info.***‘. This creates a file called info.*** you can look at later with Notepad. (Professional Edition only).

2. gpedit
You can delete files immediately, without having them move to the Recycle Bin first. Go to the start menu, select Run… and type ‘ gpedit.msc‘; then select User Configuration, Administrative Templates, Windows Components, Windows Explorer and find the Do not move deleted files to the Recycle Bin setting. Set it.
Poking around in gpedit will reveal a great many interface and system options, but take care — some may stop your computer behaving as you wish.
(Professional Edition only).

3. rundll32.exe
You can lock your XP workstation with two clicks of the mouse. Create a new shortcut on your desktop using a right mouse click, and enter ‘rundll32.exe
user32.dll,LockWorkStation‘ in the location field. Give the shortcut a name you like. That’s it — just double click on it and your computer will be locked. And if that’s not easy enough, Windows key + L will do the same.

4. sysoc.inf
XP hides some system software you might want to remove, such as Windows Messenger, but you can tickle it and make it disgorge everything. Using Notepad or Edit, edit the text file /windows/inf/sysoc.inf, search for the word ‘hide‘ and remove it. You can then go to the Add or Remove Programs in the Control Panel, select Add/Remove Windows Components and there will be your prey, exposed and vulnerable.

5. schtasks
For those skilled in the art of DOS batch files, XP has a number of interesting new commands. These include ‘eventcreate‘ and ‘eventtriggers‘ for creating and watching system events, ‘typeperf’ for monitoring performance of various subsystems, and ‘schtasks’ for handling scheduled tasks. As usual, typing the command name followed by /? will give a list of options — they’re all far too baroque to go into here.

6. ipv6
XP has IP version 6 support (the next generation of IP). Unfortunately this is more than your ISP has, so you can only experiment with this on your LAN. Type ‘ipv6 install‘ into Run… (it’s OK, it won’t ruin your existing network setup) and then ‘ipv6 /?‘ at the command line to find out more. If you don’t know what IPv6 is, don’t worry and don’t bother.

7. taskkill
You can at last get rid of tasks on the computer from the command line by using ‘taskkill /pid‘ and the task number, or just ‘tskill’ and the process number.
Find that out by typing ‘tasklist’, which will also tell you a lot about what’s going on in your system.

8. zipfldr.dll
XP will treat Zip files like folders, which is nice if you’ve got a fast machine. On slower machines, you
can make XP leave zip files well alone by typing ‘regsvr32 /u zipfldr.dll‘ at the command line. If you change your mind later, you can put things back as they were by typing ‘regsvr32 zipfldr.dll

How to Delete Locked or Undeleteable Files in Windows

You may have came across a situation when you try to delete a file and Windows does not allow you to do that. You might get a pop up saying “file might be in use or is not deletable”.

Actually, locked files are one which is locked by explorer.exe process, which prevents you from deleting the file. In many situations, it is advisable not to touch those files because they might be useful for proper working of your system. But if you know that it’s not, you may follow this step by step guide to delete that file.

1. Open Command Prompt by typing cmd in the Start Menu search field and hitting the “Enter” button. Keep it open.

2. Locate the file you want to delete.

3. Now, open Task Manager by using “Ctrl+Shift+Esc”. Click the Process tab. Find explorer.exe and click on “End Process” button. (do not close Task Manager)

4. Now go back to the command prompt and locate the file by navigating through directory. Type cd to enter in a particular directory. For example if you want to go through file present in a folder C:Documents and SettingsMy Documents Folder Filename then type the command cd c: Documents and Settings My Documents Folder in the command prompt to go to that folder.

5. Now delete the file using del filename command where filename is the name of file you are deleting.

6. Once the file is deleted, open Task Manager again and click on New Task by going to File > New Task.

7. Type explorer.exe in the box appeared and hit Enter.

Note: Deleting files through cmd commands is an easy process but you should locate it correctly before deleting. Deleting any important Window file or other useful file might cause problem in your operating system.

PDF lo panduga chesuko....Sai