Search found 2 matches

by clanmills
24 Aug 2017 10:52
Forum: DOS Batch Forum
Topic: Echo raw string to stdout
Replies: 2
Views: 2844

Re: Echo raw string to stdout

So obvious, Dave. Of course. Echo is a cmd.exe builtin and is already raw! So echo 5 |builder.bat is the raw string '5 ' Where as echo 5|builder.bat is the raw string '5'. :D

Thanks very much for your help. Very much appreciated.
by clanmills
24 Aug 2017 05:00
Forum: DOS Batch Forum
Topic: Echo raw string to stdout
Replies: 2
Views: 2844

Echo raw string to stdout

Folks I'm writing a batch file to automate a build process. I want to do: echo 5 | call batFile.bat The code in batFile.bat is : ECHO Enter your choice: ECHO 1. Clean All ECHO 2. Generate XMPSDKToolkit Dynamic Win32 ECHO 3. Generate XMPSDKToolkit Static Win32 ECHO 4. Generate XMPSDKToolkit Dynamic x...