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

learn more… | top users | synonyms (1)

0
votes
1answer
331 views

VB sciprt + how redirect output from CMD window to file

I wrote the following VB script in order to run commands from WIN XP on a Linux machine and redirect the output command to out.txt file ( under C:\ ) I don’t understand why output from the command ...
1
vote
1answer
1k views

Join to Domain Script - Windows 7

I'm looking for a way to diss-join a machine from a domain and join a machine to a domain via scripts. I searched online and have found the following script that should join a machine to a domain but ...
2
votes
0answers
658 views

Pin a tile (App or shortcut) to a specified position on Startscreen (Windows 8 / Powershell)

The title is nearly the whole question. I am searching a solution to pin an installed app or desktop application to the windows 8 startscreen. I am in an enterprise environment and the purpose is to ...
0
votes
1answer
264 views

VB or Batch script to get the MAC address of remote windows CE devices

I'm trying to write a script in vb to open a telnet session to a remote windows CE7 device from a Windows 7 laptop to get the output from ipconfig /all to a text file, then append the contents of that ...
0
votes
3answers
705 views

Search .csv from within a batch file

I am looking to create a batch file that will search a .csv for a specific number, and then use the 2nd value in the csv as the input back into the batch file. Example: csv name= IP.csv .csv ...
0
votes
1answer
410 views

Excel - Change font color of a row on double click

I'm trying to change the font color of the row in which the cell is located when I double click it from black to grey, and the opposite when it's already grey. Here is the code I'm trying: Private ...
0
votes
1answer
100 views

Converting multiple CAD files to PDF with script (XP)

Going off of what was covered in the thread here I have 2 questions. (I'm using the vbscript version that's in my SendTo folder and works nicely, thank you nixda! ) 1) How can I modify the script to ...
0
votes
1answer
5k views

Windows 8 wscript.exe not running *.vbs files

I've had Windows 8 running fine on my work PC for several months, but today when I booted it up, it would not run my *.vbs logon scripts. There is no script engine for file extension ".vbs". I ...
0
votes
2answers
2k views

Why am I getting a permissions error when adding registry values through VBScript?

I've been trying to run a VBScript file every time my system starts up, and have tried modifying the registry using VBScript to add it to the list of programs to run, but I'm facing a problem with ...
1
vote
1answer
5k views

VBScript in Windows 7 64bit Scheduled Task - Works with only run when logged in

So basically I have this VBScript that opens up an Excel 2010 instance, run a macro in it and close the spreadsheet. I am calling it using Scheduled Task to automate it. It ran beautifully when I was ...
0
votes
1answer
74 views

Looking to remap drives from file VBS

I am very new to VBS. I am trying to make a tool that will help with migration of users for a refresh comming up. I need to grab printers and drive mappings from the current user on a machine, export ...
1
vote
4answers
8k views

Script - How to check if a network path is available and then map it

I would like an screen saver / logon script that checks if a network path is available and then map it to a unit. If it is not available it disconnects/don't connect. Network path is ...
0
votes
1answer
274 views

Using Excel to capture URL redirects

In Excel is it possible to have a list of URLs in column A and have a column B auto-populate with the URL of the page you get to if you click the link in Column A. (I would like to audit all the ...
1
vote
1answer
297 views

VB script or command line instruction to query a modem connected to my PC

Is there any vb script to query a modem that is connected to one of the ports of my machine?How can I query my modem from command prompt?
-1
votes
1answer
403 views

.vbs won't execute anything at all

I created short script to run .bat file on background but when i execute .vbs file, it seems like it is not reading my script at all. .Dos windows pops up and shutdown right away but my batch file is ...
-1
votes
1answer
1k views

PuTTY configuration in a command line

is there a command which configures the PuTTY to open up with "Session Logging" in "Printable output". I could do this manually, but i want to put this in a cammand line which will configure the PuTTY ...
1
vote
0answers
621 views

How To Write To The Windows 7 Registry HKLM

I'm writing a vbscript that will write a registry value, to be precise the script should write the value of DisableRemovableDriveScanning value 0 to HKLM\Software\Microsoft\Microsoft ...
0
votes
0answers
297 views

How to change Recycle Bin settings from the command prompt?

Is it possible to change Recycle Bin settings from the command prompt or using VBScript? Specifically, I want to: Select the "Don't move files to the Recycle Bin, Remove files immediately when ...
1
vote
0answers
63 views

Looking for an application/tool for spidering a website that loads more content upon scrolling

I'm looking for an application/tool that will allow me to spider a website where you have to scroll down vertically repeatedly for the whole page to load. I need to be able to define the starting ...
1
vote
1answer
362 views

How can I pass an argument to a batch in shortcut if calling a vbs script prior

I'm using windows and creating a shortcut to call the following. \\myserver\myfolder\inv.vbs \\myserver\myfolder\mybat.bat I have created the VBS script to not show the batch window (run hidden). ...
0
votes
2answers
1k views

Problems with runas and system account

I have a process that is running under the local system account on a Windows XP machine. This process then attempts to open a file with its default application as another user (say Max) on the system. ...
0
votes
1answer
355 views

Delete partial matching lines from text file

I have 1 large xml file with lines like - <text file name 5 HD text> <text file name 2 text> <text file name 3 text> <text file name HD 2 text> <text file name 5 text> ...
2
votes
0answers
524 views

Extracting a zip file via VBScript running as a service

Details OS: Windows 7 UAC: Disabled What: I am running a VBScript that extracts a zip file, and the vbscript is kicked off by Jenkins service. I need to use the VBScript, and I can not use external ...
0
votes
2answers
594 views

I need a VB script that executes to update Time Server every time Windows starts up

I need the script to automate Time Server update. I suspect the internal battery that keeps time up-to-date is dead and I don't want to change the battery because I'll discard the laptop soon for a ...
1
vote
1answer
454 views

Basing one combo box on another

I'm trying to follow the instructions to base one combo box on another in an MS Access 2010 form, and I'm running into some issues. I've got two tables: Strategy +----+-------------+ | ID | ...
1
vote
0answers
161 views

hotkey script that copies all the text in my open notepad file to a clipboard and then closes the file

Please. I am new to VBS and may not be saying this right but I need a script with a keyboard shortcut that copies all the text in my open notepad file to the clipboard and then closes the notepad ...
1
vote
1answer
7k views

How to disable and enable a USB port via command prompt?

How to disable and enable USB port via command prompt? Or using a batch script or VBScript? The OS is Windows 7.
1
vote
1answer
304 views

Change proxy in Firefox with Vbscript?

Is there a way to change the proxy server in firefox using vbscript?
0
votes
1answer
2k views

Can't find script engine “OfficeStarter.vbs”

When I boot up my laptop, I have an error message: Can't find script engine "VBScript" for script "C:\Program Files\WindowsUpdate\OfficeStarter.vbs I have Windows 7 and Office Starter 2010 as a ...
1
vote
2answers
3k views

VBScript Capture StdOut from ShellExecute

I am trying to run the following code snippet as part of a tool to gather and log some pertinent system diagnostics. The purpose of this snippet is to gather the result of running the command: ...
1
vote
1answer
195 views

Change Windows 7 taskbar location automatically based on screen shape or on docking status

My laptop has a 14" widescreen: pretty wide, but not very high. I find it most convenient to have the Windows taskbar located on the left of the screen, since I can spare the width but not the ...
2
votes
1answer
630 views

Scripting Bitlocker Decryption of a local hard-drive

In summary: I'm attempting to create a script that unlocks (decrypts) a hard-drive on the Windows 7 Ultimate local machine, then execute a couple of programs afterwards. I have a small SSD that ...
1
vote
3answers
7k views

VBScipt Missing - Windows 7 64bit - Tried Many Solutions but No Luck

When installing some programs or when trying to run .vbs files, Windows informs me it cannot find VBScript. I have tried everything I can find online, including: Registering the .dll: regsvr32 ...
0
votes
1answer
1k views

Windows 7 (script): Create pre-defined folder structure

Is it possible to create a script, which can be activated through the right-click menu in Windows, which will create a pre-defined folder structure? Every time we get a new update at my work I have to ...
0
votes
1answer
301 views

Parent folder inheriting Child sub-folder or file attributes without creating a new folder and copying

Is there a way to change the folder time and date (the attribute properties) via a DOS Batch file, VBS, PERL or a Powershell script? Example: FOLDER: F1, F2, F3... SUB-FOLDER: S1, S2, S3 ... FILES: ...
0
votes
2answers
2k views

How do I publish/export Microsoft Access Forms

I developed some forms in Microsoft Access and have yet to connect the forms with the database. However I would like to build and maybe publish the forms so I can view them outside of Access. how do I ...
1
vote
1answer
151 views

What is the most robust way to parse domain and username from a user string in vbscript

The user can input a string, so basically 4 options: username .\username localcomputername\username remotedomain.com\username What is the most robust way to return the domain and username given ...
1
vote
0answers
237 views

VBScript to detect VSS Exchange Writer State

I need to detect the state of the Exchange VSS Writer service on a given machine. The script will only be executed if Microsoft Exchange 2003, 2007, or 2010 is currently running. Powershell Script ...
1
vote
1answer
78 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
964 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
7k 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
383 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
1answer
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
798 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
3k 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 ...
1
vote
0answers
167 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
466 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
1k 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
581 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 &#252; and so on. How can I achieve this, is it ...