wsh
Can I pass an argument to a VBScript (vbs file launched with cscript)?
I have this script saved in \"test.vbs\": Set FSO = CreateObject(\"Scripting.FileSystemObject\") Set File = FSO.OpenTextFile(workFolder &\"\\test.txt\", 2, True)[详细]
2022-12-29 16:24 分类:问答wscript.shell running file with space in path with PHP
I was trying to use wscript.shell through COM objects with php to pass some cmd commands to cURL library (the DOS version). here is what I use to perform this task:[详细]
2022-12-29 06:11 分类:问答how to get result from wscript.execute() I need piping
I want to get result from an executing command by the help of wscript say : wscript.execute(\"dir c:\\\")[详细]
2022-12-27 21:24 分类:问答Using VB6 + WSH with Windows Compression
Having trouble with WSH and Windows Compression. My goal is to be able to zip up files (not folders, but individual files from var开发者_运维知识库ious locations, which I have stored in an array) usi[详细]
2022-12-25 12:54 分类:问答creating object "wscript.shell" fails
My script looks like: <script type=\"text/vbscript\"> Dim WshShell, oExec Set WshShell = CreateObject(\"WScript.Shell\")[详细]
2022-12-25 04:31 分类:问答Script to download file and rename according to date on Windows Vista machine?
I need to daily run a script that will download a file from a fixed location and save it on my computer with an appropriate filename-YYYYMMDD-HHSS.ext timestamp. I need a historical record of what tha[详细]
2022-12-24 16:01 分类:问答CScript and VBS to Remove Line Breaks from Text File
I have a batch file running which spits out a text/html file.The batch file is cau开发者_开发知识库sing some line breaks in the text file, which do not translate very well in opening the file in an em[详细]
2022-12-23 00:41 分类:问答Creating a scripting language to be used to create web pages
I am creating a scripting language to be used to create web pages, but don\'t know exactly where to begin.[详细]
2022-12-22 16:28 分类:问答What does the two parameters mean for WScript here?
$WshShell = new COM(\"WScript.Shell\"); $oExec = $WshShell->Run($cmd, 0, false); I don\'t seem to find the document for this...[详细]
2022-12-22 14:50 分类:问答JScript: How to give focus to popup window
I\'m making new window this way: var WSHShell = WScript.CreateObject(\"WScript.Shell\"); WSHShell.Popup(\"This is popup.\");[详细]
2022-12-19 23:08 分类:问答