About 51 results
Open links in new tab
  1. parameters - Can I pass an argument to a VBScript (vbs file launched ...

    Can I pass an argument to a VBScript (vbs file launched with cscript)? Asked 15 years, 8 months ago Modified 5 years, 9 months ago Viewed 309k times

  2. How to run a file using VisualBasicScript (.vbs) - Stack Overflow

    Jun 5, 2009 · 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.

  3. windows - vbscript output to console - Stack Overflow

    Dec 7, 2010 · What is the command or the quickest way to output results to console using vbscript?

  4. Running Powershell from vbs with command as parameter

    Hey i want to run from an vbs script a powershell commando. Something like start powershell.exe and enter a specific command like Restart-Service. I thought something similar to this could work:

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

    If NOT boolValue1 Then and when a comparison is made in the case of the first example a Boolean value is returned. either the values are equal True, or they are not False. So using the NOT operator …

  6. vbscript - How to execute VBS? - Stack Overflow

    Not sure if I understand your question correctly, but have a look at how to use the Microsoft Script Control to execute VBScript code within your application, i.e. code in a textbox control. If you just …

  7. How to run vbs as administrator from vbs? - Stack Overflow

    Can anyone help me with running vbs from itself but with administrator rights? I need rename computer with Windows 8 via VBScript, but it's possible only if I run my script through administrator command …

  8. Getting current directory in VBScript - Stack Overflow

    Apr 22, 2013 · If you drop a file onto your vbs file (launcing the script in WScript with arguments), then the working dir will be C:\Windows\System32 (!) (even if the dropped file is in the same directory as …

  9. How to set delay in vbscript - Stack Overflow

    Nov 13, 2009 · How to set delay in vbscript? WScript.Sleep(100) does not work on Windows XP, Vista.

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

    May 28, 2021 · How to make a simple loop in .vbs [duplicate] Asked 4 years, 7 months ago Modified 4 years, 7 months ago Viewed 11k times