About 2,690,000 results
Open links in new tab
  1. windows - vbscript output to console - Stack Overflow

    Dec 7, 2010 · I just want to light up the benefit of this method over WScript.Echo: cscript //b foobar.vbs Runs foobar.vbs without any console output, but by Rob's method you can have …

  2. How to run VBScript from command line without Cscript/Wscript

    Apr 15, 2014 · For Example my vbscript name is Converter.vbs & it's present in folder D:\VBS. I can run it through following methods: CScript "D:\VBS\Converter.vbs" OR. WScript …

  3. Is it better to use NOT or <> when comparing values?

    Is it better to use NOT or to use <> when comparing values in VBScript? is this: If NOT value1 = value2 Then or this: If value1 &lt;&gt; value2 Then better?

  4. How to run a file using VisualBasicScript (.vbs)

    Feb 15, 2014 · How can I run a file with VisualBasicScript (.vbs)? The file is 'file.bat' and it's located in the same dir as the .vbs.

  5. Getting current directory in VBScript - Stack Overflow

    Aug 27, 2019 · C:\Users>cscript //nologo "C:\myscripts\cool.vbs" Then your working directory will be C:\Users, not C:\myscripts. If you drop a file onto your vbs file (launcing the script in …

  6. How to set delay in vbscript - Stack Overflow

    Nov 13, 2009 · Create a new file, call it test.vbs. Put this in it. WScript.Sleep 1000 MsgBox "TEST" Run it, notice the delay before the message box is shown. Note, the number is in …

  7. vbscript - How to make a simple loop in .vbs - Stack Overflow

    May 28, 2021 · I have this simple code that creates a message box. I to make a loop that loops the code that creates the message box until a certain variable value is met. Here is the code I …

  8. vbscript - To keep screen active (without locking) in Windows …

    Sep 10, 2018 · A simple vb script will help you resolve this. Create a .vbs file and paste the below code. set wsc = CreateObject("WScript.Shell") Do 'one minute WScript.Sleep(60*1000) …

  9. Run a vbscript from another vbscript - Stack Overflow

    Nov 6, 2009 · For examples the script being run is called TestScript.vbs, the other script for it to call/run would be called Secondscript.vbs, both of which are located in C:\Temp. Thanks Mark …

  10. Run Excel Macro from Outside Excel Using VBScript From …

    Apr 19, 2012 · @echo off pushd %~dp0 cscript Add_Client.vbs Note that I have also included the "Set back to visible" in my Userform_QueryClose : Private Sub cmdClose_Click() Unload Me …

Refresh