![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| 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) |
| | Re: delay script return <linuxnooby@xxxxxx> wrote in message news:475907b8-dd24-405e-bf22-f05d4a34adfd@xxxxxx Quote: > Hi > > I need a script that will run from the command line but will delay > return to the command prompt until script has completed. > > If I use > > WScript.Sleep(3000) > > The command prompt returne immediately , while the script is sleeping. > > I can delay return by invoking script with the cscript command. > However the script I am writing is for Windows steadystate which can > use custom update scripts. The script required needs to a script name > rather than a command. > > eg sleep.vbs > not > cscript sleep.vbs > > any help greatly appreciated > > cheers David just once: cscript //h:cscript Type cscript /? to see the full set of switches. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Call binary to return value in Powershell script | PowerShell | |||
| Script to delay launch of program(s) | VB Script | |||
| problem passing args to script 'There is no script engine for file extenstion' | VB Script | |||
| return variable through script in script | VB Script | |||
| Obtaining Script Exit Return Codes | PowerShell | |||