Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you access info for current vbscript

Status
Not open for further replies.

uniq1

MIS
May 18, 2001
13
0
0
GB
How can you access information regarding the current running vbs script ie. Its name, directory, size etc

I'm assuming you can !!

Thanks
 
hi,

The ServerVariables Collection may be of help to you. I just did a search on msdn for "servervariables collection" and got this page ...


One of the things it mentions is SCRIPT_NAME, so you might find it useful. It is possible to use ServerVariables in a For...Each loop, thereby splurting out the entire contents so you can have a look through (but I can't remember how you do this and I don't have my book with me!).

Alex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top