I made 2 vbs scripts; CODE 1 (https://justpaste.it/codevbs1) CODE 2 (https://justpaste.it/codevbs2) But I was not able to combine them. I confess that I have no enough knowledge to do it :( I tried but it gave error always. If you show the way to me I WILL BE SO GLAD :) THANK YOU IN ADVANCE

We have a text file that is a result of an export from an application we have. We use the following bat file to rename and remove blank lines from it based on the way it exports the export options/format cannot be changed. I would like a way to add to this bat file a method to remove specific lines...

I am trying to use the RUNRMTCMD I have successfully used this command in the past with no problems. I have allowed the services to interact with the desktop. My problem is when I run the command I am running a VBS passing in to parms from my CL. The command runs but my spool file comes back and...

Our clients run XP pro and Office 2003 or 2007 and on server 2003 domain. We have a macro enabled document that pulls the user name from the registry and applies it to the bottom of that document, similar to a signature. The script below pulls the user name from AD and sets it in the registry in...

Hi, I'm after a script that would be able to rename a computer based on the machines serial number collected from the machine then i want it to look up the reference in a CSV file rename to the given name, add to the domain and reboot all automatically. Does anyone have such a script? I have this...

Here's the rub. I want to use a script, be it vbs, batch, etc. to find out or query what devices are currently active on a Windows XP machine. So, the code structure would look like this . . . IF PrinterIsPluggedIn: ShowDialog: "Yo, your HP is pugged in." ELSE: Do nothing. That's the basic...

Hello, I am hoping someone can shed some light as I am at a complete lost. I am using an excellent script written by Ralph Montgomery named NTUser.wsf for account audit purposes and I am attempting to modify it to suit my needs. The script, in its native format, prompts for a username upon...

I currenly have a HTA that has alot of code. Part of the code displays a pop up message with the usersname to confirm we are working with the correct client. I Couldnt use WMI since all of our laptops block WMI quiries so I had to get inventive. All computers here have a default share. The script...

We have a db application that has two databases. One is "test" one is live. It has two different icons. The users train in test and then after traning, they go "live" I have a shortcut that is on "all users" desktop. It runs at user login and they are local admins, because the app needs those...

One of our newer domains is having a problem with connection to mapped drives, server, internet, and shared printer connection lose. Once the connection is dropped it will not re-sync or reconnect to mapped drives ect... untill a full reboot is done. We've not done much in the way of changing any...

Hi i have a vbs that call an exe file to start a game.... i can run it in windows xp without issue and when i try to do the same on the vista home firse the vbs can't run cause i need to run as administrator this i figure out but the exe is not loaded any idea why ?

To follow this tag...

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy