Hi,
I have a vbscript that renames msg files to Sender - subject. It also changes the modified date to be the received date of the email. The script works most of the time. And that is the ...
OK I created the following script - it basically reads a list of computer names line by line from a text file pings them to see if they are on the network and returns an IP address and output...
On my desktop PC I created a folder called "C:\Temp" which I point all applicable user and system "Environment Varables" (e.g.: TEMP, TMP) to. I want to run a VBScript with my nightly schedule...
I have these reports that come in and I have to filter them by site and by building, then send a trouble ticket to the appropriate groups. Is there any way that I could have a script read the...
VBA Virgin seeks help with using KeyPress, KeyDown etc
Could someone show me an Excel Macro that demonstrates KeyPress etc.?
I want to write a script that allows me to specify "If "A" is pre...
I have two excel files. BookA.xls and BookB.csv. I would like to copy the entire sheet "Projects" which is in BookA.xls over to a new sheet in BookB.csv (which already exists and contains d...
How do you vbs or batch command to delete a registy key that has keys below it. I need to delete the key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSLicensing but it might have 2-3 keys below it ...
Hi
I am writing a script which outputs data from a database into an XML file. Part of this requires that I need to encode images as base64 binary and then place the resulting binary into th...
I have many workstations across all four time zones in the 48 states. Some of the workstations have the incorrect zone set, depending on their location. Each location has a local domain contr...
Can anybody help me with a simple syntax problem? I'm sending form-posted data and appending it all to a string variable. What is the syntax to telll if the string variable contains a certa...
Hello,
I'm using a recordset to populate an excel workbook. Once that is completed, I want to overwrite the existing file. I don't want to click replace existing file.... The displayaler...
I am making a VBS script that will run three commands to open ports necessary for Remote Assistance. When this VBS script is run, three cmd windows popup for a few seconds and disappear. Is th...
I have the following vbs script running as a logon script. But everytime it runs, When the shortcut is created, it is created with the symbol of no icon. How can I direct the icon location t...
Hi All,
I have a vbscript which adds data to different sheets in 1 workbook. I works great, the code is below.
The problem is that when there is new data which needs a new sheet ( anApp.AppN...
I am using the following code to try and run a script remotely within my domain that I am an administrator on.
I have restricted to code to run for a specific machine for now until I get it...
Hi All,
Can anyone explain why when I put this code (found on another post) into my page, nothing happens?
<script language="VBScript">
Set oNetwork = CreateObject("WScript.Network")
s...
Hello- What is a proper vbscript for checking a string for special characters (all I care to delete is "-") and removing it from the string?
Thanks
I am trying to teach myself a bit of VBScript. I am using it to access an excel worksheet and perform tasks based on the information in the spreadsheet. One task is pulling unique data from e...
How can I quit the vbscript on error instead of resume next?
I've tried a few variations and nothing works.
I tried:
On Error GoTo Quit
Function Quit()
WScript.Quit
End Function
...
I have a Windows 2003 DC with WinXP and 2K Pro clients. What I am trying to do is add an ODBC System DSN entry for our Visual Manufacturing ERP System.
I have exported the Reg Key, reads:
...
Hi Guys
i got a problem regarding coding for a installation of a msi package or .exe files in vbscripts. could anyone help me in this?
Cheers
I want to change all of computers local administrator account. There is a VBS about this situation in The Portable Script Center :
strComputer = "atl-ws-01"
Set objUser = GetObject("WinNT:...
I'm trying to enable/disable network adapter in a script.
The interpreter I'm using is Windows Script Host.
I'm using the command Win32_NetworkAdapter.Enable()/Disable():
strComputer = "....
Need create a vbScript to to the following steps:
1) To verify if the following key already exist. If it is, then a message pops up " The key already exist." Otherwires, go to step 2.
\\HK...