| View previous topic :: View next topic |
| Author |
Message |
MIchael
Joined: 02 Mar 2005 Posts: 59
|
Posted: Mon May 15, 2006 5:54 pm Post subject: how to write % signs to a batch file |
|
|
Hello
I want to write a string in a batch file. this string shall reference to a variable in the batch file!
Problem ': if I put the % signs around SHADOW_DEVICE_1 the % signs are not writen to the batch file because autohotkey sees it as a variable.
Any hint what to do?
thank you very much
Michael
| Code: |
fileappend, copy %SHADOW_DEVICE_1%\tyt.txt, c:\tsts.cmd
|
|
|
| Back to top |
|
 |
Greg
Joined: 22 Dec 2005 Posts: 246
|
Posted: Mon May 15, 2006 6:58 pm Post subject: |
|
|
| Escape character = ` |
|
| Back to top |
|
 |
MIchael
Joined: 02 Mar 2005 Posts: 59
|
Posted: Mon May 15, 2006 7:16 pm Post subject: Oh yes I got it thank you! |
|
|
Hello Greg
Oh yes I got it thank you!
| Code: |
fileappend, copy `%SHADOW_DEVICE_1`%\tyt.txt, c:\tsts.cmd
|
|
|
| Back to top |
|
 |
|