straytoasters Posted February 25, 2006 Share Posted February 25, 2006 I have a successful batch file (not WSH) but the two .vbs's that are called from it prompt to run. Is there a way to have it not prompt to run like filename.reg /s allows you to run a .reg silently?Straytoasters Link to comment Share on other sites More sharing options...
cluberti Posted February 26, 2006 Share Posted February 26, 2006 Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.>cscript /?Microsoft (R) Windows Script Host Version 5.6Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.Usage: CScript scriptname.extension [option...] [arguments...]Options: //B Batch mode: Suppresses script errors and prompts from displaying //D Enable Active Debugging //E:engine Use engine for executing script //H:CScript Changes the default script host to CScript.exe //H:WScript Changes the default script host to WScript.exe (default) //I Interactive mode (default, opposite of //B) //Job:xxxx Execute a WSF job //Logo Display logo (default) //Nologo Prevent logo display: No banner will be shown at execution time //S Save current command line options for this user //T:nn Time out in seconds: Maximum time a script is permitted to run //X Execute script in debugger //U Use Unicode for redirected I/O from the console Link to comment Share on other sites More sharing options...
kingsc Posted July 7, 2009 Share Posted July 7, 2009 Microsoft Windows XP [Version 5.1.2600](C) Copyright 1985-2001 Microsoft Corp.>cscript /?Microsoft (R) Windows Script Host Version 5.6Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.Usage: CScript scriptname.extension [option...] [arguments...]Options: //B Batch mode: Suppresses script errors and prompts from displaying //D Enable Active Debugging //E:engine Use engine for executing script //H:CScript Changes the default script host to CScript.exe //H:WScript Changes the default script host to WScript.exe (default) //I Interactive mode (default, opposite of //B) //Job:xxxx Execute a WSF job //Logo Display logo (default) //Nologo Prevent logo display: No banner will be shown at execution time //S Save current command line options for this user //T:nn Time out in seconds: Maximum time a script is permitted to run //X Execute script in debugger //U Use Unicode for redirected I/O from the consoleCool, you rock cluberti, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now