![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | How to do No hang up VBScript (nohup for VBScript) I'm running XP SP-2. How can I execute a VBScript so that when I log out the script continues to execute. More specifically... I'd like to execute a CMD script . Yes, I could run the CMD as a Service - but that's a hassle. Thanks. |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to do No hang up VBScript (nohup for VBScript) <gimme_this_gimme_that@xxxxxx> wrote in message news:425b6c11-9303-4005-8c03-5d13e4323f19@xxxxxx Quote: > I'm running XP SP-2. > > How can I execute a VBScript so that when I log out the script > continues to execute. > > More specifically... I'd like to execute a CMD script . > > Yes, I could run the CMD as a Service - but that's a hassle. /Al |
My System Specs![]() |
| | #3 (permalink) |
| | Re: How to do No hang up VBScript (nohup for VBScript) Quote: > Define it as a scheduled task. > > /Al Thanks. |
My System Specs![]() |
| | #4 (permalink) |
| | Re: How to do No hang up VBScript (nohup for VBScript) <gimme_this_gimme_that@xxxxxx> wrote in message news:4e2512d5-9d2d-411a-96d1-229c7a0998d4@xxxxxx Quote: > Quote: >> Define it as a scheduled task. >> >> /Al > How do I schedule it from the command line Quote: > so it executes once, now. *might* look like: schtasks /create /tn testtask /tr c:\scripts\testtask.cmd /sc once /st 18:00:00 /sd "2008-10-31" A word of caution, though. If you cause the task to run under the credentials you are logged on with, and starts running while you are logged on, it appears (to me at least) that the task is run as a process in your current session. So it stops if you logout. To avoid this, you could supply alternate credentials (/ru username /rp password), or schedule it to start at some time after you expect to logout. /Al |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| New to VBscript, Help please! | VB Script | |||
| CSS and VBscript | VB Script | |||
| Where is VBscript now? | VB Script | |||
| VBscript Help | VB Script | |||
| vbscript and HTA help | VB Script | |||