Search found 44 matches

by mmacdonald
Wed Jan 30, 2008 1:29 am
Forum: VBScript
Topic: Add variable to drive mapping script
Replies: 5
Views: 4314

Add variable to drive mapping script

Greetings: I am very new to VB and need a pointer on solving a small problem. I have a requirement to map a drive to a folder that has the user's name as the folder name. I would like to be able to use the logged in user name for the mapping to the folder. The script I am using looks like this: Set ...
by mmacdonald
Fri Jan 11, 2008 4:38 am
Forum: VBScript
Topic: Control List of Services
Replies: 4
Views: 2116

Control List of Services

I can't thank you all enough.
by mmacdonald
Fri Jan 11, 2008 3:01 am
Forum: VBScript
Topic: Control List of Services
Replies: 4
Views: 2116

Control List of Services

Joel -

That definately works. Thank you. There is something additional I need a pointer on. When the service name has a space in it, the script fails to shut it down. ie: the service name "DNS client" or "FTP Publishing" would not be shut down.

Any suggestions?
by mmacdonald
Fri Jan 11, 2008 1:58 am
Forum: VBScript
Topic: Control List of Services
Replies: 4
Views: 2116

Control List of Services

Greetings: I need to start by saying I have NO VB scripting experience. I have been creating scripts by copying others and pasting them together. This brings me to where I am now. I want to shut down a list of services. I figure I should create a list or array and use the service name as a variable ...