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 files and special characters
Name: bussumarus Date: September 2, 2008 at 03:08:13 Pacific OS: Windows XP CPU/Ram: Some Product: Custom built
Comment:
I am trying to create a batch file which echos data to a text file using something like: echo mytext >> file.txt
The problem is, when I use certain characters I get errors. For example: echo my test &5 >> file.txt For this I get the error message "'5' is not recognized as an internal or external command, operable program or batch file."
This issue is clearly caused by the & character. Is there an escape character sequence I need to use to echo this character. Putting & between 2 " works, but the text file needs it without. Thanks.
Summary: I have a device that outputs a 5 digit number to the serial port, waits 5 seconds and sends a cr/lf to the serial port. I want to take that number, call a batch file and pass that number to it as a p...
Summary: Hello, I want to create an exe file from a batch file and 2 other exe file. How can I do this? I want it so that when I click the exe it runs the batch file and it can still do things with the other 2...
Summary: i created a batch file and i'm invoking three programs in it one by one. but when i click on batch file all three programs are running simultaneously.. so how to execute them one after the other.? ...