|
|
#1 |
|
Solid State Member
Join Date: May 2011
Posts: 15
|
Hi I am in the progress of making a movie in batch and I have came across a problem with on line of code it doesn't finish displaying the line (is't an echo command) but instead skips it and closes the batch. This is the line casing the problem:
echo @@ @@@@@@ @@@@ / | \ (it's part of a picture of a plane). Please can somebody help me get rid of this problem. EDIT: There is more spaces in the code its just that they don't show in the post. |
|
|
|
|
|
#2 |
|
Fully Optimized
|
@ is a command telling a batch file to not echo a command back. In other words, MSDOS doesn't recognize "@" as text, it recognizes it as a command.
Not sure what else you could possibly use, but it can't be the @ symbol.
__________________
My Computer: eMachines T5226 - Intel Pentium D Dual Core @ 3 GHz - Diamond Viper Radeon HD3870 OC Edition with 1 GB GDDR3 VRAM - 4 GB PQi Turbo DDR2-533 RAM - Corsair 650W PSU with 52A on single rail - TSSTcorp DVD-DL+-RW combo drive - Lite-on 52x CD-RW burner - Creative SoundBlaster X-Fi XtremeGamer - Logitech z5300e speakers - WinFast TV Tuner - Vista Ultimate 64-Bit. eBay name: Flightsimboy304 |
|
|
|
|
|
#3 |
|
In Runtime
Join Date: Mar 2011
Posts: 274
|
The @ symbol is only significant if it is the first character of a line. It tells the command interpreter not to display the line.
The problem you are encountering is due to the use of |in your bat file. That is known as a pipe operator and is used to direct output from one program as input to another. You need to find another symbol to use instead. For instance: echo @@ @@@@@@ @@@@ / l \ will work because I substituted a lower case L. It won't look as good but it will work. |
|
|
|
|
|
#4 |
|
Solid State Member
Join Date: May 2011
Posts: 15
|
Thanks for your help!
|
|
|
|
|
|
#5 |
|
Site Team
Join Date: Jul 2009
Posts: 2,627
|
...or of course you could just put the echo string in speech marks... if you don't mind the speech marks being there of course.
Code:
echo "@@ @@@@@@ @@@@ / | \"
__________________
Save the whales, feed the hungry, free the mallocs. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|