Whatever eye candy the graphical interface of windows may offer but it could never match the functionality that could be achieved with command line. Here we’ve listed 10 useful commands and tricks for Windows command line.
1. Super Hide your files
Besides normal hidden files, windows file system provides another attribute for files that makes them super hidden so that they aren’t visible form explorer or with normal dir command. Use the command
attrib +s +h pathtofile
to super hide a file. Replace + symbol with - to remove super hidden attribute from file.
You can also use this command to show hidden files in usb drives, simply use
attrib -s -h *.* c command.
2. Join multiple mp3 files
Here’s a nice trick that otherwise would require some software to perform. You can join multiple mp3 files to form a single mp3 file. Simply move to the folder in command line where mp3 files are stored that you want to combine and run the command
copy /b *.mp3 newfile.mp3
The wildcard *.mp3 will combine all mp3 files to form a newfile.mp3 file. You can control which files are combined using wildcard parameters.
Here’s a nice trick using this method to embed mp3 file in a jpg image file.
3. Map a Drive Letter to a Folder
Most of the time, our hard drives get filled with huge amount of data folder, files etc that moving to a folder you occasionally use becomes a heck. However, there’s a dos command that lets you map a drive letter to a folder. e.g. to map the folder C:\windows to M drive use the command:
subst M: C:\Windows
However the mapped drive gets lost once you restart your pc, you can then create a batch file including the above command and schedule it to run at system startup.
4. Change colors of command Window
Perhaps you need to take a print out of dos window and don’t want to waste ink on black background of dos window. Windows command line provides a command to change background and text color of dos window in a snap.
Simply use color bf to change colors. b is the code for background color and f is code for text color. To know color codes type color /? at command line.
5. Use previously entered Command
Just typed a long command moments ago and need to run that again but the effort involved to type again is making you sick! But don’t worry as command line keeps track of your previously entered commands which are accessible by pressing F7 key.
Alternatively you can use Up Arrow key to use earlier commands you used.
F1 & F2 also offer similar kind of functionality but in a different way, try them out.
6. Run Multiple commands at once
Multiple commands can be concatenated using && and run at once with single press of Enter. Simply type in your commands and concatenate them with && at once.
e.g. color f8 && dir && time
would run all the three commands one after another with a single press of Enter.
7. Filter output of commands
Some commands like systeminfo provide a whole bunch of information about your pc but what if you need info only about updates installed or Processor or Virtual Memory. You can filter the output using find. Here’s how to get only updates list from systeminfo.
systeminfo | find "Update"
This will only show updates installed on your system.
8. Drag Drop Folder paths
No need to type in long folder paths at command line, simply drag n drop that file or folder from explorer onto command line window to copy its path.
9. Move selected files to another folder
If you need to move only doc files to another folder or project documents created this month to another folder from a folder containing large number of files, you would rather end up using Ctrl+click to select individual file in Windows Explorer. But thanks to command line, you can use wildcards to move selected files.
Use move *.doc newfolderpath
to move only doc files to new folder. Any wildcard combination can be used here.
10. Take screenshots of webpages
To take screenshots of web pages, you would need a tiny utility called IEcapt.exe and then place it in c:\Windows directory, now go to command line and type in
iecapt urltocapture pathofoutputimage
to get a screenshot of the webpage.
Lakshmanan's Home Page
Search
Friday, January 30, 2009
Tuesday, May 1, 2007
Recover permanently deleted files and folders in Windows
Have you ever accidently deleted important files from your hard disk permanently ?Most people think that the file is gone and it cannot be recovered.But that is not true.You need not worry.
Recover My Files 3.98 is a file recovery software that can:
Recover deleted files even if emptied from the Recycle Bin.
Recover formatted hard drives, even if you have reinstalled Windows!!!
Recover your files after a hard disk crash.
Get back files after a partitioning error.
Recover deleted documents, photos, videos, music and emails.
Recover from hard drive, camera card, USB, Zip, floppy disk or other media.
This software is really worth giving a try.It can also recover files that are deleted due to virus,spyware or trojan infection.Data from formatted drives can also be effectively recovered.
Recover My Files is fast and easy. No technical or data recovery software skill is required.All data recovery is done at the action of a mouse click.It has a very simple and user friendly interface.
Download link: Recover my files 3.98
Recover My Files 3.98 is a file recovery software that can:
Recover deleted files even if emptied from the Recycle Bin.
Recover formatted hard drives, even if you have reinstalled Windows!!!
Recover your files after a hard disk crash.
Get back files after a partitioning error.
Recover deleted documents, photos, videos, music and emails.
Recover from hard drive, camera card, USB, Zip, floppy disk or other media.
This software is really worth giving a try.It can also recover files that are deleted due to virus,spyware or trojan infection.Data from formatted drives can also be effectively recovered.
Recover My Files is fast and easy. No technical or data recovery software skill is required.All data recovery is done at the action of a mouse click.It has a very simple and user friendly interface.
Download link: Recover my files 3.98
Use the Notepad as your personal diary
There is a simple feature in Notepad that can make it work like a personal diary for you.Here is how to go about it:
1.Firstly open a blank Notepad file.
2. Now write .LOG as the first line in the file, then press enter. Now save the file and close it.
3.Open the notepad file now and you will find that the current date and time has been appended(put) at the end and the cursor is in the next line.
4. Type your notes and then save and close the file.
5. Each time you open the file, Notepad repeats the process,that is it appends the date and time to the end of the file and places the cursor below it.
This way you can keep track of all your entries,you can easily monitor which article you wrote when.This can work very much like a personal diary.Try it out and let me know how you find it?
1.Firstly open a blank Notepad file.
2. Now write .LOG as the first line in the file, then press enter. Now save the file and close it.
3.Open the notepad file now and you will find that the current date and time has been appended(put) at the end and the cursor is in the next line.
4. Type your notes and then save and close the file.
5. Each time you open the file, Notepad repeats the process,that is it appends the date and time to the end of the file and places the cursor below it.
This way you can keep track of all your entries,you can easily monitor which article you wrote when.This can work very much like a personal diary.Try it out and let me know how you find it?
Rename the Recycle Bin
Hey its very easy
--> Start
--> Run and type "regedit"
-->HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}
In Right side panel double click on Recycle Bin and change the name of Recycle Bin as u want click ok and exit
Restart your Computer
--> Start
--> Run and type "regedit"
-->HKEY_CLASSES_ROOT\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}
In Right side panel double click on Recycle Bin and change the name of Recycle Bin as u want click ok and exit
Restart your Computer
Discover Hidden Music in Windows XP
Did you know, there is a hidden music in Windows XP that you have never heard..
To hear this sound, first of all go to Folder Options and under the "View" tab, check "Show hidden files and folder" and uncheck "Hide protected system files".
Now navigate to the drive where Windows XP is installed.So if C:\ is the drive where Windows XP is installed, goto
C:\WINDOWS\system32\oobe\images
There you will find a file Title.wma.Open in with your favorite media player and listen to it.
To hear this sound, first of all go to Folder Options and under the "View" tab, check "Show hidden files and folder" and uncheck "Hide protected system files".
Now navigate to the drive where Windows XP is installed.So if C:\ is the drive where Windows XP is installed, goto
C:\WINDOWS\system32\oobe\images
There you will find a file Title.wma.Open in with your favorite media player and listen to it.
Friday, April 6, 2007
Great Computer Tricks
This is how to create "con" folder.
Do u ever tried to create the con folder.........................
no.......... then try it...........
they r two ways of creating confolder......
1. By using Command Prompt.
2. Without using Command Prompt.
if u want to knoww, then just leave a message (in the comment) and ur mail id too............
i ll reply u within 15hrs :)
Way to get xp product code from cd
It really work
There is a way to get the xp product code from the cd
just explorer the cd then
open the folder I386
then open the file UNATTEND.TXT and
scroll down to the last line
and it goes to show what dumbasses microsoft are u have a product code.
Have fun u never need to search for a product code for xp again...!!!!
Hidden unknown fact in microsoft word
Bill Gates still doesn't know why it happens:
Try out yourself...
Open Microsoft Word and type
=rand(200,99)
and then HIT ENTER....see what happens.
it won't hurt ur system!!
Better Background for Microsoft Doc......
We hav white backgrond for our doc........... as default... but v can hav a blue also.... lets hav a view
1.) Open a Word Document by going to Start, All Programs, Microsoft Word.
2.) From the menu bar, click Tools.
3.) Select Options from the drop down menu.
4.) The Options dialogue box will open. Select the General tab.

5.) Now you will find a check box that says "Blue background, white text." Click to select it so that you have a tick mark on the box.
6.) Click OK to save the changes and to close the options dialogue box.

Now, go back to your Word document. See the difference?
Yes, now it has a blue background and when you type, the text will be all white. Try this for a few days and you should see a drastic change on the eye strain you've been experiencing.
Try this for yourself and feel the difference!
Password Protect Folders in XP with & with out software
folder lock with software
click here
http://www.esnips.com/doc/7f993235-e6dc-4ccc-b107-7ee46b69f793/pc-security(reg)
now just download it and make it full version by the side txt files key....
.................................................
folder lock without software
1
If you have a log in password for your account, this can be used to protect folders from other users. Your hard drive must be f
ormatted using NTFS (which it probably is unless you're dual booting with another operating system). Here's what to do...
Right-click the folder that you want to make private and choose "Properties"
(or Alt+Double-click). Go to the "Sharing" tab and check the "Make this folder private" box.

Click Apply . If you do not have a password on your account, a box will pop up asking if you want to assign a password. This must be done if you want to make the folder private, so click Yes . You will need to use your password to log on to your computer from then on.
Type in a password then confirm it. Click the "Create Password" button then close the Password window.
Click OK in the Properties dialog box.
Now anyone else logged on to your computer can't access that file without knowing your password.
-----------------------------------------------------------------------------------
2
if ur folder is zipped then directly u can open the file in it and see .... ADD A PASSWORD
and confirm ur password and it ll b safe
-----------------------------------------------------------------------------------
Posted by Rajesh at 4:24 AM 1 comments Links to this post
Make Frnds scare for VIRUS
Open notepad and type this:
lol=msgbox ("Warning a virus has been detected on your PC. Press YES to format your hard disk now or press NO to format your hard disk after system reboot",20,"Warning")
Then save it as Virus.VBS
and go to the folder that contains it and open it if a window pops out saying a virus has been detected it's working. Press yes or no to close the window and put it in the startup folder of the victim's account.
On startup the window should appear.
Note: This does not harm your computer as it does not contain virus.
The Yes and no button does not do anything except closing the window. And you can edit the virus in the sentence: Warning a virus has detected on your PC to any kind of virus eg.Trojan Horse like this lol=msgbox ("Warning a Trojan horse has been detected on your PC. Press YES to format your hard disk now or press NO to format format your hard disk after system reboot",20,"Warning")
Oh in between make sure your victim does not panic and really reformat his harddisk. hahaha
Folder Options missing
Many of us sometimes find the folder options missing in windows explorer.
Here's the solution
Open Run and then type "gpedit.msc".
Now goto
User Configuration > Administrative templates > Windows Component > Windows Explorer.
Click on Windows Explorer you will find the 3rd option on the right side of screen
"Removes the Folder Option menu item from the Tools menu"
Just check it,
if it is not configured then change it to enable by double clicking on it and after applying again set it to not configured.
I hopes that you will find the option after restarting windows.
Do u ever tried to create the con folder.........................
no.......... then try it...........
they r two ways of creating confolder......
1. By using Command Prompt.
2. Without using Command Prompt.
if u want to knoww, then just leave a message (in the comment) and ur mail id too............
i ll reply u within 15hrs :)
Way to get xp product code from cd
It really work
There is a way to get the xp product code from the cd
just explorer the cd then
open the folder I386
then open the file UNATTEND.TXT and
scroll down to the last line
and it goes to show what dumbasses microsoft are u have a product code.
Have fun u never need to search for a product code for xp again...!!!!
Hidden unknown fact in microsoft word
Bill Gates still doesn't know why it happens:
Try out yourself...
Open Microsoft Word and type
=rand(200,99)
and then HIT ENTER....see what happens.
it won't hurt ur system!!
Better Background for Microsoft Doc......
We hav white backgrond for our doc........... as default... but v can hav a blue also.... lets hav a view
1.) Open a Word Document by going to Start, All Programs, Microsoft Word.
2.) From the menu bar, click Tools.
3.) Select Options from the drop down menu.
4.) The Options dialogue box will open. Select the General tab.
5.) Now you will find a check box that says "Blue background, white text." Click to select it so that you have a tick mark on the box.
6.) Click OK to save the changes and to close the options dialogue box.
Now, go back to your Word document. See the difference?
Yes, now it has a blue background and when you type, the text will be all white. Try this for a few days and you should see a drastic change on the eye strain you've been experiencing.
Try this for yourself and feel the difference!
Password Protect Folders in XP with & with out software
folder lock with software
click here
http://www.esnips.com/doc/7f993235-e6dc-4ccc-b107-7ee46b69f793/pc-security(reg)
now just download it and make it full version by the side txt files key....
.................................................
folder lock without software
1
If you have a log in password for your account, this can be used to protect folders from other users. Your hard drive must be f
ormatted using NTFS (which it probably is unless you're dual booting with another operating system). Here's what to do...
Right-click the folder that you want to make private and choose "Properties"
(or Alt+Double-click). Go to the "Sharing" tab and check the "Make this folder private" box.
Click Apply . If you do not have a password on your account, a box will pop up asking if you want to assign a password. This must be done if you want to make the folder private, so click Yes . You will need to use your password to log on to your computer from then on.
Type in a password then confirm it. Click the "Create Password" button then close the Password window.
Click OK in the Properties dialog box.
Now anyone else logged on to your computer can't access that file without knowing your password.
-----------------------------------------------------------------------------------
2
if ur folder is zipped then directly u can open the file in it and see .... ADD A PASSWORD
and confirm ur password and it ll b safe
-----------------------------------------------------------------------------------
Posted by Rajesh at 4:24 AM 1 comments Links to this post
Make Frnds scare for VIRUS
Open notepad and type this:
lol=msgbox ("Warning a virus has been detected on your PC. Press YES to format your hard disk now or press NO to format your hard disk after system reboot",20,"Warning")
Then save it as Virus.VBS
and go to the folder that contains it and open it if a window pops out saying a virus has been detected it's working. Press yes or no to close the window and put it in the startup folder of the victim's account.
On startup the window should appear.
Note: This does not harm your computer as it does not contain virus.
The Yes and no button does not do anything except closing the window. And you can edit the virus in the sentence: Warning a virus has detected on your PC to any kind of virus eg.Trojan Horse like this lol=msgbox ("Warning a Trojan horse has been detected on your PC. Press YES to format your hard disk now or press NO to format format your hard disk after system reboot",20,"Warning")
Oh in between make sure your victim does not panic and really reformat his harddisk. hahaha
Folder Options missing
Many of us sometimes find the folder options missing in windows explorer.
Here's the solution
Open Run and then type "gpedit.msc".
Now goto
User Configuration > Administrative templates > Windows Component > Windows Explorer.
Click on Windows Explorer you will find the 3rd option on the right side of screen
"Removes the Folder Option menu item from the Tools menu"
Just check it,
if it is not configured then change it to enable by double clicking on it and after applying again set it to not configured.
I hopes that you will find the option after restarting windows.
Sunday, March 18, 2007
Subscribe to:
Posts (Atom)





