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.
Batch: how to assign command to Var
Name: pednoy Date: September 14, 2004 at 01:28:50 Pacific OS: Win XP CPU/Ram: Xeon 1g
Comment:
Dear all,
I need help. Is there a way to redirect command output to variable. An output is a text string and has space bar.
Example is file a.txt has a content "AB CD EF" Can I type a.txt and reirect output to %A%?
Summary: Thanks ivo, Yes that is the solution. actually my question was not clear... echo current environemtnt %WINDIR%\system32\cmd.exe /k connect.cmd ::set up the execution environment echo execute something...
Summary: maybe im just an idiot but i cant seem to pipe a cariage return into my batch file client uses photoshop with a small scratch partition on another drive even though i keep telling him he needs to shu...
Summary: I am just begining to learn about batch files and am starting out very easy. Is there any way to run a check on a batch file to show where you went wrong in the programing. I am working on a batch fil...