About 135,000 results
Open links in new tab
  1. How do I open a file with VBScript? - Stack Overflow

    Aug 9, 2010 · 10 How do I open a file with VBScript, as if the user had double clicked the file?

  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. Run Excel Macro from Outside Excel Using VBScript From Command Line

    Apr 19, 2012 · I'm trying to run an Excel macro from outside of the Excel file. I'm currently using a ".vbs" file run from the command line, but it keeps telling me the macro can't be found.

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

    Apr 15, 2014 · WScript "D:\VBS\Converter.vbs" Now I would like to execute above VBScript without Cscript or Wscript command by simply typing the name of VBscript name i.e. Converter. I DON'T …

  5. Running Visual Basic Script as a Scheduled Task asks how I want to …

    Jan 17, 2014 · I also had wscript.exe set as the default program to open .vbs file with (type: ftype vbsfile (at the command prompt to find the default program association) I had to specify cscript.exe as the …

  6. VBScript to open a dialog to select a filepath - Stack Overflow

    At present I am opening a file with my vbscript as follows: strFile = "C:\\Users\\test\\file.txt" Set objFile = objFSO.OpenTextFile(strFile) I would like to change this so that a file can be selected/

  7. Open VBS file with admin command prompt context menu

    Jun 22, 2021 · The command works. VBS files open with admin command prompt. Are there any other script file extension types like VBS I can create similar context menu entries to open in wscript, runas …

  8. Calling a .vbs script from Excel VBA - Stack Overflow

    Aug 21, 2015 · Is it possible to call a .vbs script from a VBA code whenever needed? If possible then can you give me a sample code of how to do so?

  9. "Open with" Options through vbscript - Stack Overflow

    Aug 10, 2010 · To open a file using a specific application, use the WshShell.Run methood to run that application and pass the file name as a parameter. Here's an example that opens the same text file …

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

    31 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 …