choice wscript or cscript in .vbs



Hello

How to choice wscript or cscript in a .vbs.
i want cscript when i go a script on an unknow PC, when i don't know the
script for default

thank you


.



Relevant Pages

  • Re: cscript errors when running many concurrent vbs scripts
    ... > i have a java application that spawns cscript to run a simple vbs ... > Script Host failed. ... > processes from java), i'm looking into writing a c++ dll that makes ...
    (microsoft.public.scripting.wsh)
  • RE: Using SMS to install network printers
    ... - When it spawns it has to have appropriate rights. ... directory from a command line and run the batch file. ... You might have to tweak your script a bit for error ... > cscript SCRIPTNAME.VBS ...
    (microsoft.public.sms.misc)
  • Re: Perfmon script not working??
    ... I had perfmon call a bat file with (cscript ... | I'm trying to monitor free disk space using Performance Monitor. ... | free space falls below a certain value I have an email.vbs script I ... | An alert was created on Windows 2003 server using the Logical Disk ...
    (microsoft.public.win2000.general)
  • Re: Anonymous works 1 Day ??
    ... If you run CSCRIPT //h:CSCRIPT that will set CSCRIPT as the default script ... This right is needed for IIS to logon the anonymous user though. ...
    (microsoft.public.inetserver.iis.security)
  • RE: VBScript in SQL Server Agent/Jobs not working
    ... Basically, Windows Scripting Host has two script calling executibles, WScript ... the .VBS or .JS extension and call it with WScript or CScript. ...
    (microsoft.public.sqlserver.server)