MSFN Forum: [HELP] Run a .vbs from command line silently - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[HELP] Run a .vbs from command line silently Rate Topic: -----

#1 User is offline   straytoasters 

  • Junior
  • Pip
  • Group: Members
  • Posts: 99
  • Joined: 25-January 06

Posted 24 February 2006 - 07:12 PM

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


#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 26 February 2006 - 11:35 AM

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

>cscript /?
Microsoft (R) Windows Script Host Version 5.6
Copyright (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


#3 User is offline   kingsc 

  • Member
  • PipPip
  • Group: Members
  • Posts: 130
  • Joined: 14-July 08

Posted 07 July 2009 - 02:09 PM

View Postcluberti, on Feb 26 2006, 10:35 AM, said:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

>cscript /?
Microsoft (R) Windows Script Host Version 5.6
Copyright (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


Cool, you rock cluberti, thanks.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy