An interpreted scripting language developed by Microsoft that is modeled on Visual Basic

learn more… | top users | synonyms (1)

1
vote
1answer
82 views

Add paths to environsment and launch and app

I want to add some shell actions to execute some apps. These apps require some environment set from complex batch files. That is, my action should call: c:\xxx\SetPath.bat c:\yyy\startApp.exe The ...
0
votes
4answers
1k views

Writing scipt to open multiple applications with a username/password

Is there a way to write and run a script that will enable me to: Run an app with a username/password Have that script carry out a few simple shortcut commands (ie connecting to and receiving from ...
0
votes
3answers
8k views

What can I do to re-install VBSCRIPT for Windows 7?

I've had a problem with VBSCRIPT preventing me from updating the McAfee I paid for. It now is preventing me from updating my Sprint cell connection. In addition, since the Sprint update failed, I can ...
0
votes
1answer
394 views

Getting a Vbscript to run in Task Scheduler

I have a VBSCRIPT file that is used to backup a database once every day at a particular time, this was done using task scheduler but my problem now is this script requires you to press ok or cancel to ...
4
votes
2answers
3k views

Silent Java update check

How to have automatic Java updates without jusched.exe process running all the time in the background and with control when a check for the update should occur?
3
votes
2answers
873 views

How can I cause Task Scheduler to “fail” if a dialog box returns a certain result?

I'm working on a VBScript to do a weekly reboot of all machines on our network. I want to run this script via Task Scheduler. The script runs at 3:00 AM, but there is a small chance that users may ...
0
votes
2answers
4k views

VBScript check if key combo pressed

How can I make a script that waits in a while loop for a specific keyboard combination before doing something? I want to run the script and then have it wait for ALT+CTRL+Q and then execute the rest ...
2
votes
1answer
193 views

VBScript how to detect hardware plugged in?

I tried searching but I can't seem to be find anything besides USB detection. I want to make a script that detects when the speaker and microphone ports has a device plugged in. Is this possible to ...
0
votes
1answer
510 views

Script with .vbs (Internet Options\Browsing History\Settings)

I need to create a logon script that changes this option. It can either be a batch file or a .vbs "Internet Options\Browsing History\Settings\Check for Newer Versions of stored pages" Anybody have ...
1
vote
1answer
2k views

offscrub07.vbs cannot access registry when ran as part of a startup script

I am creating a script to automate a deployment of Office 2010. Office 07 was not installed in a way that provides a clean upgrade path, and in an attempt to do things the right way I am clearing it ...
3
votes
2answers
2k views

Programmatically adding entries to Windows 7 Start Menu?

How does one add entries to the Windows 7 start menu for All Users programatically? For example I might want to add the folder MyApps containing a shortcut to myapp.exe and a URL for www.myapp.com. ...
1
vote
1answer
618 views

Excel VB Convert sheet text to unicode chars

I need to enter a function in an excel sheet that converts all cells values, that are texts, to it Unicode values. For example I want ü to be ü and so on. How can I achieve this, is it ...
0
votes
2answers
1k views

Select multiple processes to terminate in XP via -.vbs

I am trying to do a script that'll allow me to kill a few processes when I need a maximum of resources. Things I don't mind starting up when I start XP (dropbox, PowerISO, OpenOffice-tray, etc.) but ...
1
vote
3answers
352 views

Dump HTML from script

Is there a way to create a script to download the HTML source to a text for html file locally? For example, if I wanted to archive the HTML of Google.com each day. I'm up for batch, VBS or PS1 but ...
4
votes
2answers
4k views

How do I configure Firefox through a script?

I'm looking to configure the following Firefox settings through a script (VBS or batch) default home page default search engine disable auto update Is this possible?
0
votes
0answers
232 views

How to program the outlook DLs using vbscript or some other language?

Is it possible to add / remove a user from a outlook Distribution List using a program? I am not referring to the DLs in the local contacts list but the global address book. I have the permission to ...
1
vote
1answer
205 views

How do I detect if uTorrent is downloading?

I need to write a script that determines whether or not uTorrent is currently downloading something. I'd rather it just be downloading, but if I cannot differentiate between downloading and uploading ...
1
vote
0answers
212 views

Shares created via WSHNetwork.MapNetworkDrive are not visible by administrator

I have a script that maps some network drives via WSHNetwork.MapNetworkDrive - but those drives are not visible by processes running as Administrator. Is there any solution to it? (maybe some flag?) ...
0
votes
0answers
210 views

CScript Terminates before completing task

I am using the below with mods but ziping several Gb of info the last command is Wscript.sleep 2000. I have extended this to 20,000 and 200,000 but I use the script vor various diferent sizes. Is ...
1
vote
0answers
459 views

How can I create a VPN connection via a startup script?

I am trying to deploy a VPN connection to all laptops on my Domain via the startup script. It has to be done at startup and not login as the connection has to be available to all users and they don't ...
1
vote
1answer
200 views

Creating Custom Sortable datatypes in excel

I want to define a custom data type in excel 2007, a date range. Basically, it's an array of dates or smaller date ranges like: "{ 01-26-1991 , 01-01-2004 to 12-31-2004 , 12-13-2017 }" which ...
0
votes
1answer
1k views

Font rendering fails when code runs under IIS 7.0

I have a legacy ASP website with COM object running under IIS 7.0 on Windows Server 2008. This generally works great but I ran into a rather strange issue lately for which I'm unable to find a ...
0
votes
1answer
491 views

Adding everyone to local group using vbscript

What would be an alternative in vbscript to NET LOCALGROUP /ADD "Power Users" Everyone I know how to add a single group or user but Everyone isn't found.
1
vote
2answers
2k views

How can I change the name of the VBScript process, wscript.exe?

I want to run multiple scripts simultaneously, but monitoring them or detecting which has died is difficult as they are all listed as wscript.exe in the process list. How can I change the name of the ...
0
votes
2answers
1k views

vbs - 800A0401 - Expected End of Statement

The bat has >>%vbs% echo oShellLink.IconLocation = "%1, 0"to produce oShellLink.IconLocation = ""C:\WINDOWS\NOTEPAD.exe", 0"` where %1 is a quoted path However, unless I remove the ...
3
votes
1answer
1k views

Windows analog of $1 (PID of the last started process)

How to get on Windows PID of the last started process using WScript.Shell or similar? I know how to start a process and get its PID: Set oExec = WshShell.Exec( program ) Set pid = oExec.ProcessID ...
2
votes
1answer
1k views

Force 64bit WScript to run .vbs

I'm trying to run a .vbs script under 64Bit. When I run this script manually it will execute properly, but when launched by something else, it will run under 32bit and won't execute properly. Here's ...
0
votes
2answers
1k views

Search for text in web pages given a list of URLs

I have a list of several thousand URLs, and I'd like to search each of these pages for a given word. How can I do this programmatically on Windows, preferably using VBScript or Powershell?
1
vote
1answer
10k views

How to reinstall broken VBScript support on Windows XP SP3? [duplicate]

Possible Duplicate: Input Error: There is no script engine for file extension “.vbs”. VBScript support (Windows Scripting Host, as far as I understand) seems to be been broken ...
2
votes
1answer
1k views

Set paper size of Zebra TLP 2844 programmatically

I have a lot of Zebra TLP 2844 printers used by domain users. Unluckily by default the paper size is 2" x 4" while I need to have 4" x 3". The first time each user logs on I have to change manually ...
2
votes
1answer
888 views

How can I give a VBS script access to run without opening a security hole in IE?

I'm currently working on an application that basically sits on top of IE. This program is used on Windows XP and Windows 7 laptops in police cars. The program has a number of VB scripts that run, ...
0
votes
1answer
444 views

Run VBScript from cmd and send input to dialog

I want to launch a VBScript from a windows xp command promt enter a value to the first box that pops up from the vbsscript. What I have tried (Want to enter value 2 to the script): START CScript ...
0
votes
1answer
300 views

Vbs Message Box Alternative [C++]

I'm trying to output a oftstream with a text on it that can run as a Message box But I would like to know if there is an alternative to do this witouht .vbs. If it can be done with .exe or another ...
0
votes
1answer
853 views

Display Image With No Window

I have a scheduled task that runs on my user machines at startup that currently brings up a 'configuring your station' style message in a command prompt window that is replaced by a vbscript msgbox ...
2
votes
3answers
2k views

Powershell vs. vbs vs. bat

I need to configure few Windows 7 machines (with a wide variety of tasks - from setting up screensaver, disabling services, adding task schedule entries to setting up IPsec/firewall rules). Since ...
5
votes
3answers
9k views

Windows 7 - VBS Script to change last logged on user

With Windows XP I used to run a VBS script after using a clients computer to set their user account as the last logged on user. Unfortunately the script no longer works in Windows 7. (Resulting in ...
0
votes
2answers
94 views

Is it possible to backup shell folders in XP with VB or WSH script?

I would like to backup shell folders on my XP machine. It is useful for me because when I reinstall XP I can just restore those backed up shell folders. Can you guys get me started or point me in the ...
5
votes
1answer
554 views

Executables in Windows 7 Giving Profane Error Message

Last night I was called by a friend of mine complaining that he'd somehow severely screwed up Firefox . Every time he clicked on the desktop icon, the following error message popped up: When it hit ...
0
votes
1answer
180 views

Find excel worksheet with vb script

Is there a way in windows vista to search for an excel 2007 workbook that contains a certain vbscript (or filter those files that contain any Vb script ?).
0
votes
0answers
222 views

Outlook 2003 pops up error dialog with “Script Error”, “Line 29”, “Position 129” and no useful info

So I sit at my computer working on something in a totally different program, and spontaneously a dialog box appears with the title "Script Error" and message text: Script Error Line 29 Position 129 ...
4
votes
3answers
4k views

Dismount a usb volume form command-line

How do I unmount a volume (USB flash drive) via command-line or Visual Basic script?
0
votes
1answer
258 views

Applescript to Windows script (VB or java)

I want to have a button in Powerpoint (2003) and have it open iTunes to a specific playlist and start playing using AppleScript tell application "iTunes" play playlist "iTunes DJ" end tell ...
2
votes
1answer
4k views

VB script + get permission denied when copy file (on XP)

I have win XP , my target is to copy the file.dbf from local dir to c:\oracle directory ( by VB script described below) The problem is that I get permission denied (from the VB script output) Please ...
2
votes
4answers
402 views

help … virus ? compromised ? (aarama.net)

Help me please identify whether my computer is compromised or not. I'm not yet sure what this is.. I'm still browsing through some JavaScript (my level = beginner) files I found during my ...
1
vote
1answer
1k views

Intercept a Windows XP logoff or shutdown with a custom message

When a users logs out of their computer, I would like a way of displaying a message to them asking if they remembered to set their out of office and email forwarding, I'd like to give them the chance ...
0
votes
1answer
1k views

Launch IE and Wait for it to be closed

I'm trying to use VBScript to launch a web form that requires the user to fill it out and then at the end of it, check whether they completed the form or cancelled out. I do not have control over the ...
1
vote
1answer
2k views

Error 800A01AD in VBScript on Windows Vista 64bit when create ActiveX object

I write script in VBScript for converting images. It use ImageMagic ActiveX. I write this script in Windows XP, it's run normaly, the same with Windows Vista 32bit, but in 64bit I have 800A01AD error ...
2
votes
2answers
3k views

Windows Script Host Error Dialog Popups in the morning

A few days ago when I resume my computer from sleep mode in the mornings I would see an error dialog from "Windows Script Host" that read: "There is no script engine for file extension ".vbs". I am ...
0
votes
1answer
3k views

Excel / VBscript: Need to sort columns with a header

I have a vbsctipt that opens an Excel(2007) document copies the used range from two sheets (minus the header on sheet 2) puts it all on 3rd sheet. I then need to sort that data using the header. I ...
2
votes
1answer
1k views

Checking VBScript for syntax errors without actually running the script

I have a script in VBScript. I'm not sure if it contains any syntax errors or other non-runtime errors. Normally I would just run the script, but I don't want the script to actually run because the ...