aisc 0 Posted July 23, 2010 I'm using the /ErrorStdOut parameter when running my script, so the user doesn't see ugly error messages. But I do want to log them to a file. How might I accomplish this? Thanks, aisc Share this post Link to post Share on other sites
PsaltyDS 39 Posted July 23, 2010 You might run your script this way: YourScript.exe >> C:\Temp\Logs\YourScript.log Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Share this post Link to post Share on other sites
aisc 0 Posted July 23, 2010 (edited) You might run your script this way: YourScript.exe >> C:\Temp\Logs\YourScript.log Nice! This looks like it does the trick from command line: MyScript /ErrorStdOut >> log.txt But it won't take that syntax, if I try to make a Windows shortcut like that. I tried to make a batch file with that text instead, but the command window hangs out until the script finishes. My script may run for hours. Any other suggestions to make a shortcut that does this? Thanks, aisc Edited July 23, 2010 by aisc Share this post Link to post Share on other sites