Search found 27 matches

by bbright20
Tue Dec 07, 2010 10:50 pm
Forum: VBScript
Topic: vbs script to modify host file
Replies: 1
Views: 1932

vbs script to modify host file

Hello, I'm sure this has been discussed before but I was unable to find what I was looking for via searching. What I want to accomplish is this: 1. Check the host file to see if entry "hostname" exists. A. If exists, display a message box that says "hostname" already exists. B. I...
by bbright20
Tue Dec 07, 2010 10:50 pm
Forum: VBScript
Topic: vbs script to modify host file
Replies: 1
Views: 1932

vbs script to modify host file

Hello, I'm sure this has been discussed before but I was unable to find what I was looking for via searching. What I want to accomplish is this: 1. Check the host file to see if entry "hostname" exists. A. If exists, display a message box that says "hostname" already exists. B. I...
by bbright20
Thu Feb 26, 2009 8:31 pm
Forum: VBScript
Topic: Group Membership
Replies: 5
Views: 3044

Group Membership

Thanks jvierra - that makes perfect sense to me. It had been a very long day yesterday when I posted that...sorry for not thinking it through a little more.That being said - is there any direction you can point me in to accomplish what you have laid out?Thanks again.
by bbright20
Thu Feb 26, 2009 10:20 am
Forum: VBScript
Topic: Group Membership
Replies: 5
Views: 3044

Group Membership

Is there a way to use VBS to remove a user from a group and add them to another? Example - I have a user name that I need administrative rights in order to set some stuff up, but rather than going through the normal motions of changing the group membership, I was wondering if it's possible to get th...
by bbright20
Thu Feb 26, 2009 10:20 am
Forum: VBScript
Topic: Group Membership
Replies: 5
Views: 3044

Group Membership

Is there a way to use VBS to remove a user from a group and add them to another? Example - I have a user name that I need administrative rights in order to set some stuff up, but rather than going through the normal motions of changing the group membership, I was wondering if it's possible to get th...
by bbright20
Tue Dec 09, 2008 6:12 am
Forum: VBScript
Topic: Scripting help
Replies: 5
Views: 2867

Scripting help

I'm not worried about if it doesn't backup - that else statement was in there because there was a yes or no option in there and that was echoed if the "no" was chosen. the only reason I've had it NOT backup is if the drive letter isn't in use at that moment - any other time has been succes...
by bbright20
Mon Dec 01, 2008 12:09 pm
Forum: VBScript
Topic: Scripting help
Replies: 5
Views: 2867

Scripting help

I have a script that I setup to automatically backup my daughter's DS games and save files from her memory card... I also have it setup to write to a log file whenever the backup takes place. I have the script setup to ask if I want to backup games, then if so, it copies the files to another directo...
by bbright20
Wed Feb 13, 2008 5:27 am
Forum: VBScript
Topic: Map Network drive
Replies: 1
Views: 1927

Map Network drive

I have a drive that I would like mapped. I can successfully map it using the attached code, but I want to do a few other things (if possible). 1. I want the script to remap the drive to my settings (in the script) if the letter used (V) is already in use. If it's not, I need the script to skip that ...
by bbright20
Mon Feb 11, 2008 8:24 pm
Forum: VBScript
Topic: How to run an application?
Replies: 9
Views: 5713

How to run an application?

Can you provide an example?

Here's a snippet of my code with the abbreviated paths:

Code: Select all

WshShell.Run "C:Progra~1Xtende~1Conten~1Aex32.exe"
	
WshShell.Run "C:Progra~1Pinpoi~1RightCADRCLOADER.exe"
	
WshShell.Run "C:Progra~1Micros~2Office10Outlook.exe"
by bbright20
Mon Feb 11, 2008 5:14 am
Forum: VBScript
Topic: Automate FTP file transfers - free tool
Replies: 6
Views: 5252

Automate FTP file transfers - free tool

I opened the WSFTP program and watched everything while I ran the script...to see if anything wierd was happening. I noticed that when I ran the script, I got the echo "Starting Download", a second later I noticed on the local side of WSFTP (I was watching the folder I want the file downlo...