Windows 7 Forums


Reply
Thread Tools

Need help with a script in CMD

 
 
CtrlAltDelete CtrlAltDelete is offline
New Member
Join Date: Apr 2012
Posts: 1
Thanked: 0
 
      04-04-2012
Hey,

I have a pretty simple question hopefully someone will be able to help, in cmd prompt I run a command which returns a lot of data that I pipe into a text file, basically all I want to do is to only save the fifth field from every line that begins with the word PCUSER - would this be possible? thanks.
 
Reply With Quote
 
 
 
 
clifford_cooley clifford_cooley is offline
Established Member
Join Date: Mar 2009
Posts: 4,758
Thanked: 987
 
      04-04-2012
Sure.

If I understood exactly what you needed, I could help.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 7 CMD Help & Tips Fire cat Customization 21 06-26-2012 02:29 PM
move from cmd.exe 32 bit to cmd.exe 64 bit teg1545 Windows 7 Support 2 10-12-2010 11:54 AM
Cmd.exe / .bat help nev3r General Discussion 1 10-10-2010 12:00 PM
Delay before executing logon script kenny782 Windows 7 Support 0 11-20-2009 08:29 PM
Funny script for Internet Explorer Ian Off-Topic Discussion 3 08-07-2009 02:45 PM


All times are GMT +1. The time now is 02:00 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.