| View previous topic :: View next topic |
| Author |
Message |
solfit_developers
Joined: 05 Mar 2008 Posts: 1
|
Posted: 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
|
Posted: Thu Mar 06, 2008 7:26 am Post subject: |
|
|
Hi!
You need the scripting.filesystemobject.. |
|
| Back to top |
|
 |
|