Top "Wsh" questions

For questions relating to Windows Script Host (WSH), a language-independent scripting host for the Windows operating system.

Is there a way to run a command line command from JScript (not javascript) in Windows Scripting Host (WSH) cscript.exe?

I'm writing a JScript program which is run in cscript.exe. Is it possible to run a commnad line command …

command-line command javascript wsh
How do I check if wscript/cscript runs on x64 host OS?

I'm running a VBScript that may run under x64 Windows. I need to read a registry key from the 32-bit …

vbscript registry 64-bit wsh
cscript jscript JSON

This is a very very (very!!!) strange problem. I have this JSCRIPT that runs on windows XP and 7 using dos …

json jscript wsh
Should we use CScript.exe or WScript.exe to run .vbs files?

VBScript (.vbs) files can be run using either cscript.exe or wscript.exe. What's the difference between these two options?

vbscript wsh
Scripting Git Commands in Windows

I have a few git commands I would like to automate in a restrictive windows environment. I find myself running …

git scripting jscript wsh
End of file in JavaScript

I want to read a local file line by line in JavaScript. Ut I can check if it goes to …

wsh jscript windows-scripting
How can I save an MSXML2.DomDocument with indenting? (I think it uses MXXMLWriter)

I have an instance of MSXML2.DomDocument. I wave to save it, with indenting. This code works, but does not …

javascript jscript wsh msxml6
Windows Script Host (jscript): how do i download a binary file?

i'm trying to automate a file download with Windows Script Host (JScript). i see ADODB.Stream has an Open method …

adodb wsh jscript
There's any way to run vbscript directly to wscript or cscript command line

I want to run a vbs command from command line as I would in batch calling cmd.exe /c "echo.…

command-line batch-file vbscript wsh
CScript/WScript Prevent an error from being blocking

Currently, WScript pops up message box when there is a script error. These scripts are called by other processes, and …

vbscript automation wsh