Download ActiveXperts Network Monitor    |     Visit the ActiveXperts Network Monitor website

Index - Log in! - Sign up! - Visit website
Current folder - Wscript objext
 
ActiveXperts Software Forum Index -> Network Monitor -> VBScript Checks
 
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
solfit_developers



Joined: 05 Mar 2008
Posts: 1

PostPosted: Wed Mar 05, 2008 1:48 pm    Post subject: Current folder - Wscript objext

Hello,

I am trying to get the folder where the scripts run from inside a VBS check and all the web points to properties of the wscript object.
Is there a way to get the wscript object ? or another way to determine where are running the scripts ?

The code below doesn't work
Code:

Wscript.ScriptName
Wscript.ScriptFullName




Thanks in advance for your help
Back to top
Albert
Site Admin


Joined: 10 Jul 2007
Posts: 420

PostPosted: Thu Mar 06, 2008 7:26 am    Post subject:

Hi!

You need the scripting.filesystemobject..
Back to top
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum