wsh Questions

1

TortoiseSVN (as well as other Tortoise clients) include a script to diff notebook files in Mathematica. Diff functionality for Mathematica is implemented in the AuthorTools package (perhaps there i...
Gardel asked 29/11, 2011 at 15:28

3

Solved

Can somebody please guide me in the right direction of creating a scripting language that targets the WSH (Windows Scripting Host)? I have googled for it, but there seem to be far fewer links rela...
Rajasthani asked 13/3, 2010 at 20:35

1

I've installed ActivePython 2.7.2 and I'm trying to execute a .pys script via the console with wscript/cscript, [i.e. ActivePython (PythonScript with .pys extension) in Microsoft's WSH(Windows Scri...
Thwart asked 3/10, 2011 at 15:37

6

Solved

Currently, WScript pops up message box when there is a script error. These scripts are called by other processes, and are ran on a server, so there is nobody to dismiss the error box. What I'd li...
Nutter asked 18/9, 2008 at 2:26

1

Solved

I know you can change it using cscript.exe on Windows. Is there a Linux program providing cscript-like functionality? Or is there some other way I can change the database in Linux?
Zenobia asked 18/8, 2011 at 22:52

1

Solved

I want to have Javascript run say cmd.exe if there is already not one running. I was hoping there is a way to have javascript look at running processes and then if the name is in the list dont run...
Appetitive asked 26/7, 2011 at 16:31

3

Solved

First, a caveat. The main script is not run in a webpage. I will be running the .js file in Windows using Windows Script Host. The problem: I would like to create a javascript "library" containing...
Lazurite asked 29/5, 2009 at 21:28

3

Solved

Does anyone know the reasoning behind having the option using: Wscript.CreateObject("some.object") and CreateObject("some.object") within VBScript? when I find documentation or examples that ...
Archdeaconry asked 24/4, 2009 at 20:6

5

Solved

How do I get a list of the active IP-addresses, MAC-addresses and NetBIOS names on the LAN? I'd like to get NetBIOS name, IP and MAC addresses for every host on the LAN, preferably not having to w...

4

Solved

When I try to run the following code in my program setTimeout("alert('moo')", 1000); I get the following error Error: Object expected Code: 800A138F Source: Microsoft JScript runtime error Wh...
Glittery asked 4/2, 2010 at 9:13

3

Solved

Consider the following WSH snippet: var query = GetObject("winmgmts:").ExecQuery("SELECT Name FROM Win32_Printer", "WQL", 0); var e = new Enumerator(query); for ( ; !e.atEnd(); e.moveNext ()) { ...
Heatstroke asked 9/6, 2009 at 23:29

2

These days I'm very much busy on developing an activex/com application. Some of our customers are working under heavily restricted windows environments. So i decided to make my application regfree....
User asked 11/6, 2009 at 6:1

1

Solved

I have a batch file running which spits out a text/html file. The batch file is causing some line breaks in the text file, which do not translate very well in opening the file in an email. I have b...
Bedfast asked 10/3, 2010 at 21:28

2

Solved

I have a classic ASP page - written in JScript - that's using Scripting.FileSystemObject to save files to a network share - and it's not working. ("Permission denied") The ASP page is running unde...
Gloom asked 7/5, 2010 at 19:19

2

Solved

public sub Main() Set objShell = CreateObject("WScript.Shell") strCommand = "C:/Program Files/s/schedule.exe" objShell.Run strCommand, vbHide, True Unload Me end sub it's supposed to run schedu...
Bolero asked 14/2, 2010 at 7:34

1

Solved

I'm trying to use WSH in place of DOS/Batch files. Thanks for the input!
wsh
Striction asked 2/12, 2009 at 1:7

1

Solved

I am trying to write a WSH logon script. Administrators throughout the company need to be able to customize the execution of the script, and execute additional scripts, for specific locations and u...
Marjoram asked 1/11, 2009 at 15:13

3

I'm writing a JScript program which is run in cscript.exe. Is it possible to run a commnad line command from within the script. It would really make the job easy, as I can run certain commands inst...
Tiffanytiffi asked 17/9, 2009 at 23:32

2

Solved

When a .vbs script is run from the command line, it will by default show a Microsoft header: Microsoft (R) Windows Script Host Version 5.7 Copyright (C) Microsoft Corporation. All rights reserved....
wsh
Jenicejeniece asked 17/9, 2009 at 8:19

3

Solved

How can I set an environment variable in WSH jscript file that calls another program? Here's the reduced test case: envtest.js ---------- var oShell = WScript.CreateObject("WScript.Shell"); var oS...
Grania asked 20/4, 2009 at 14:21

3

Solved

MSDN says that the function SetDllDirectory() can be used to insert a directory into the DLL Search Path. Can this function be accessed from a batch file or cmd script, perhaps using via cscript? T...
Hail asked 5/2, 2009 at 22:16

3

Solved

I am looking for some examples of a .bat OR .wsh script that can do the following: Recursively read file names in a directory with a user-provided extension (.dll, .exe, etc) Search a user-provid...
Initiate asked 5/1, 2009 at 22:21

2

Solved

I have a problem, and was hoping I could rely on some of the experience here for advice and a push in the right direction. I have an MS Access file made by propietary software. I only want to take ...
Shephard asked 28/10, 2008 at 11:37

1

Solved

Has anyone had any experience targetting WSH in the way that VBScript, JScript, PerlScript, xbScript and ForthScript (among other) do, such that the language can be used from the command line and e...
Nucleolar asked 6/10, 2008 at 13:16

2

I'm using WScript to automate some tasks, by using WScript.Shell to call external programs. However, right now it does not wait for the external program to finish, and instead moves on. This cause...
Lipoprotein asked 8/9, 2008 at 18:36

© 2022 - 2024 — McMap. All rights reserved.