Computing.Net > Forums > Disk Operating System > command output to variable.urgent!

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

command output to variable.urgent!

Reply to Message Icon

Name: dosnew
Date: March 19, 2007 at 00:20:31 Pacific
OS: windows xp
CPU/Ram: p4/2GB
Product: intel
Comment:

when i run this cmd thru batch file iam getting error " | was unexpected this time".the code is follows.
For /F "Tokens=* delims=" %%I in ('attrib.exe /s c:\eInsolvensi\log\*.* | find /C /V') Do Set RR=%%I
echo %RR%

did i made any wrong.
plzz urgent thanks




Sponsored Link
Ads by Google

Response Number 1
Name: orbital
Date: March 19, 2007 at 02:03:04 Pacific
Reply:

I believe you have stumbled into the wrong Forum as XP has NT Command Prompt not MS-DOS Prompt, therefore it may illicit a better answer in the XP or Programming Forum !


0

Response Number 2
Name: IVO
Date: March 19, 2007 at 02:43:35 Pacific
Reply:

orbital is right, but if your need is so urgent, prefix the | with the caret symbol, i.e. ^|.

And beware the Find command wants a search string expressed to run.


0

Response Number 3
Name: Mechanix2Go
Date: March 19, 2007 at 05:03:10 Pacific
Reply:

http://www.onelook.com/?w=elicit&ls=a


=====================================
If at first you don't succeed, you're about average.

M2



0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: command output to variable.urgent!

Command output to variable www.computing.net/answers/dos/command-output-to-variable/7847.html

Redirection of command output to variabl www.computing.net/answers/dos/redirection-of-command-output-to-variabl/8744.html

Date output to variable. Scheduler www.computing.net/answers/dos/date-output-to-variable-scheduler/15566.html