Timeline for Robocopy started hidden with vbs script not showing exit codes in Task Scheduler
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 23, 2020 at 5:57 | history | edited | lemeie | CC BY-SA 4.0 |
Hey thanks for the edit. Just fixing the second link that was off.
|
Dec 22, 2020 at 23:55 | history | edited | JW0914 | CC BY-SA 4.0 |
Inlined screenshot ; Added correct markdown for monospaced code ; Grammatical corrections
|
Dec 22, 2020 at 22:56 | comment | added | Zina | each command you run will return the errorlevel code, if successful 0 otherwise depending on the command, so you need to catch the errorlevel immediately after the command was run, with the notice that reading the errorlevel code will reset the errorlevel code to 0 as the command to get the errorlevel will always succeed... | |
Dec 22, 2020 at 22:47 | history | edited | lemeie | CC BY-SA 4.0 |
deleted 12 characters in body
|
Dec 22, 2020 at 22:28 | history | edited | lemeie | CC BY-SA 4.0 |
added 88 characters in body
|
Dec 22, 2020 at 22:26 | comment | added | lemeie | Ah ok. No idea how vbs works so hoping someone will have something to paste :) | |
Dec 22, 2020 at 22:09 | comment | added | Zina | you probably need to catch them and set it yourself, and depends what you put in the script, the exit code of the script will be the last command executed, so if you have a set or echo or whatever, that will be recorded as result. | |
Dec 22, 2020 at 22:05 | review | First posts | |||
Dec 23, 2020 at 11:24 | |||||
Dec 22, 2020 at 22:05 | history | asked | lemeie | CC BY-SA 4.0 |