wsh
Trying to run psexec to remote to server and recycle app pool
If I run this from my command prompt it works fine. psexec \\ServerName cscript.exe iisapp.vbs /a AppName /r[详细]
2023-01-31 22:01 分类:问答Javascript wshell.run not working properly
I\'m using HTA and in it I have a function that should run开发者_如何转开发 a command line with wshell.run , If I\'m writing this line in Windows \'Run\' util it is working fine, I want it to work als[详细]
2023-01-31 14:23 分类:问答WScript is undefined
I am trying to run a Javascript file locally, which is supposed to create a CSS image sprite using ImageMagick. It\'s part of the OpenID selector JS component: http://code.google.com/p/openid-selector[详细]
2023-01-30 19:35 分类:问答How can I write a simple JScript input/output program?
I\'m planning on using JavaScript to enter an informatics competition (BIO) tomorrow. However, I can\'t rely on the examiner having a browser with a decent JavaScript engine, so I was hoping to use Mi[详细]
2023-01-30 18:12 分类:问答Unicode named Folder shows ? in wscript prompt
I am facing problems with Unicode named folders. When I drag the folder to the script, it doesn\'t show the path of the folder properly.[详细]
2023-01-28 08:59 分类:问答Display a message box with a timeout value
The question comes from code like this. Set scriptshell = CreateObject(\"wscript.shell\") Const TIMEOUT_IN_SECS = 60[详细]
2023-01-27 09:04 分类:问答Why is WSCript object not known to my script that's controlled by a custom IScriptControl?
I am using someone else\'s library that provides its own scripting host instance, it appears. This lib provides me with functions to define the type of scripting language such as \"jscript\" and \"vb[详细]
2023-01-25 06:17 分类:问答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 whose documentation makes it seem like it should be possible to open a HTTP URL and str[详细]
2023-01-24 13:40 分类:问答how to get the identity with which a .vbs or a .asp file executes from within itself?
I am looking for a way to get the identity of the process which executes a *.vbs file or a *.asp file. How to write code to determine the process identity from within the file itself? Suppose I execut[详细]
2023-01-24 11:56 分类:问答Windows Script Host & Quick Fix Engineering
I want to get list of installed windows hotfix and updates. I use script below: strComputer = \".\" Set objWMIService = GetObject(\"winmgmts:\" _[详细]
2023-01-20 20:59 分类:问答