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

learn more… | top users | synonyms (1)

1
vote
1answer
258 views

Conversion of delimited .Txt file into Excel file [duplicate]

I have a delimited .Txt file containing several fields (separated by spaces) and I want to know how can I copy the entire thing into the MS Excel using any script (JS/VB/DOS Command) which can be ...
0
votes
1answer
135 views

Launch VBS script from Run box without specifying “.vbs” extension

I would like to launch a VBS script from the Run box without specifying its file extension. One of these scripts is called "home", located at C:\Program Files\lin2nt\home.vbs In cmd, I can simply ...
1
vote
1answer
135 views

Need a Excel script to identify email addresses that contain a different variation of the first name of the contact

I have an Excel spreadsheet with 50k+ rows of data, where we are trying to identify within the rows of data where the email address has no match of the first name, etc. We are basically trying to ...
1
vote
1answer
260 views

VBscript process disappears

A few days ago I first noticed that one of my VBscripts just stopped by itself, a few seconds after starting. Turns out that the wscript.exe process gets killed off about 5 seconds after it is ...
1
vote
1answer
55 views

Delete files with specific string in them

I need to delete files which have the string ST*823 in them. This does not seem to work: for /f "eol=: delims=" %%F in ('findstr /m ST*823 *.txt') do del "%%F" I don't think it likes the * since ...
1
vote
1answer
3k views

Windows 8 won't let me run vbscript even though I'm the admin

I wrote a little vbscript that downloads files from a web server. I understand why this would worry the OS but I am logged in as administrator and I want the script to run. The exact error I get is ...
-1
votes
1answer
1k views

Error 2738 could not access VBScript run time for custom action [closed]

If you recently removed McAfee antivirus from your laptop machine and after that you started to face this error message "Error 2738 could not access VBScript run time for custom action" each time you ...
0
votes
0answers
663 views

How safe/unsafe is this method of disabling the ridiculous “open file - security warning”

I created a vbs file and tried to run it and got the silly warning a bit like I see there are a few solutions to it. One is mentioned here In IE- tools..internet options..security tab..custom ...
-2
votes
1answer
356 views

Unity 3D coding language, C# or JavaScript [closed]

Hello to the gaming community. I am a budding game designer, learning to code for the first time in my life. I did learned c++ in school, 8 years back, so I sort of understand the logic when people ...
2
votes
1answer
439 views

Where in registry is Windows user expiration date or days left?

I have a few scripts that set and get user expiration using VBS... however, I am wondering where this information is stored. Is it in the registry? If so, what key should I be looking for? My VBS ...
2
votes
1answer
484 views

What do the different ping statuses returned by VBS scripts mean?

I have a VBS Script that executes this code strQuery = "SELECT * FROM Win32_PingStatus WHERE Address = '" & Cell & "'" Cell - is the Excel cell with the hostname Some of my results are ...
1
vote
2answers
4k views

How to create a desktop shortcut from a batch file

I know there are many posts on this issue but there is a minor twist to what I need to do. I can figure out how to create a shortcut with an argument like this: "C:\Program Files\My App\App.exe" /s ...
0
votes
3answers
8k views

Delete user profile from command line Windows 7

Frequently I need to delete all of the user profiles on a computer except for two accounts. I would like to have a script that can perform this for me. The script must work for Windows 7. Company ...
0
votes
1answer
300 views

Notepad++ issue VBScript code appearing on .html files

Hi guys I am having problems with notepad++. Everytime I close an HTML file there is always a vbscript code that appears below the HTML file. Is this a virus with notepad++? The VB script code does ...
0
votes
1answer
194 views

VBScript Carriage Returns

I write the following VB script in order to run commands from WIN XP on Linux machine and redirect the output command to out.txt file ( under C:\ ) My VB script I print the /etc/hosts file from Linux ...
0
votes
1answer
569 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
2k 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
740 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
310 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
905 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
482 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
108 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 ...
2
votes
1answer
6k 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
3k 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
2answers
7k 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
100 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 ...
2
votes
4answers
12k 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
341 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
362 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
504 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
2k 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
817 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
341 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
67 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
520 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
2k 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
395 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
718 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
733 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
516 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
187 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 ...
2
votes
1answer
8k 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
447 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
206 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
699 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
8k 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
2k 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
327 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: ...