Login | |
|
 |
RE: Get the current path of the vbs file - 4/24/2006 11:02:03 PM
|
|
 |
|
| |
mbouchard
Posts: 1861
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
|
Personally, I am a fan of GetParentFolderName Set fso = CreateObject("Scripting.FileSystemObject") wscript.Echo fso.GetParentFolderName(wscript.ScriptFullName)
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
 |
RE: Get the current path of the vbs file - 4/25/2006 12:44:25 PM
|
|
 |
|
| |
DiGiTAL.SkReAM
Posts: 1157
Score: 7
Joined: 9/6/2005
From: Florida, USA
Status: online
|
I also prefer the fso.GetParentFolderName method. And that has nothing to do with the fact that mbouchard is an Administrator. Really. Honest.
_____________________________
"Would you like to touch my monkey?" - Dieter (Mike Meyers) "It is better to die like a tiger, than to live like a pussy." -Master Wong, from Balls of Fury
|
|
| |
|
|
|
 |
RE: Get the current path of the vbs file - 4/25/2006 11:32:42 PM
|
|
 |
|
| |
mbouchard
Posts: 1861
Score: 14
Joined: 5/15/2003
From: USA
Status: offline
|
quote:
ORIGINAL: DiGiTAL.SkReAM I also prefer the fso.GetParentFolderName method. And that has nothing to do with the fact that mbouchard is an Administrator. Really. Honest. Flattery will get you nowhere, cash helps though.
_____________________________
Mike For useful Scripting links see the Read Me First stickey! Always remember Search is your friend.
|
|
| |
|
|
|
|
|