Login | |
|
 |
RE: Check if Servername is in Textfile - 10/2/2006 1:05:22 AM
|
|
 |
|
| |
kirrilian
Posts: 628
Score: 3
Joined: 3/15/2005
From:
Status: offline
|
do a search for "file system object", that will help with your file manipulations if it was me, for a quick and dirty thing, I'd just do an instr() for the server name line by line once you find the name, use the wscript.shell object to execute your application
_____________________________
Have you searched here ? VBScript Fundamentals My Site
|
|
| |
|
|
|
 |
RE: Check if Servername is in Textfile - 10/2/2006 4:42:52 AM
|
|
 |
|
| |
mbouchard
Posts: 1916
Score: 16
Joined: 5/15/2003
From: USA
Status: offline
|
I would probably do a readall then use instr to see if the server name is in the list.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|