Contact Us
Windows-commandline.com, as the name says, is all about command line tips and HowTos for Windows operating Systems. We cover all Windows releases – XP, Vista, Windows7, Server 2003 and Server 2008.
Guest Posts
If you have any suggestions or command line tips to share with others, you can email us at admin@windows-commandline.com.
Advertisers
If you want to advertise on windows-commandline.com, please contact us at admin@windows-commandline.com. Please mention the subject as ‘Advertise in Windows-commandline.com’.
{ 7 comments… read them below or add one }
I just submitting a question on this page: http://www.windows-commandline.com/2009/05/clear-archive-attribute-from-command.html#comment-681.
answered your question on the post. Thank you for visiting the blog.
Can you please give a solution for below requirement-
suppose we have a file with col1,col2,col3,col4.We have to copy only col2,col4 data in a another file.How do we achieve this through windows command?
You can try the following command. I am presuming that the columns are separated by whitespace.
for /F "tokens=2,4" %%a in ('type filename') do echo %%a %%bRun this from a batch file. filename should be replaced with your actual file name. You can redirect the output from the batch file to a file.
If you want to run this from command prompt, the command would be:
for /F "tokens=2,4" %a in ('type filename') do echo %a %bHello and tnx for your useful blog.
I have a question, please answer me (tnx in advance)
I can’t get the temperature by using WMIC (even with Admin privileges)
wmic temperature
No Instance(s) Available.
Thanks for the Command Line to change Win7 Default Printer.
You people are STARS ! ! ! !
I accidentally downloaded a program called”weatherbug”.Could you guide me on how to remove it using windows 8 command prompt?