| View previous topic :: View next topic |
| Author |
Message |
markreflex
Joined: 12 Feb 2008 Posts: 42
|
Posted: Tue May 13, 2008 2:53 pm Post subject: How do i append %ERRORLEVEL% batch command to a file |
|
|
When i FileAppend %ERRORLEVEL% to a batch file it writes 0
I want to write the actual word "%ERRORLEVEL%" to the batch file.
Last edited by markreflex on Tue May 13, 2008 9:54 pm; edited 1 time in total |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Tue May 13, 2008 2:55 pm Post subject: |
|
|
| `%ErrorLevel`% ---> #EscapeChar |
|
| Back to top |
|
 |
tank
Joined: 21 Dec 2007 Posts: 417
|
Posted: Tue May 13, 2008 2:55 pm Post subject: |
|
|
| Code: |
FileAppend,`%errorlevel`%,errortext.txt
|
_________________ Read this
Com
Automate IE7 with Tabs |
|
| Back to top |
|
 |
markreflex
Joined: 12 Feb 2008 Posts: 42
|
Posted: Wed May 14, 2008 2:24 am Post subject: |
|
|
| thank you |
|
| Back to top |
|
 |
|