Re: Script startup / current path?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: ljb (.)
Date: 02/17/05


Date: Thu, 17 Feb 2005 14:15:53 -0600


"Yaiz" <Yaiz@discussions.microsoft.com> wrote in message
news:7CD18F7D-9451-48F3-B9F7-07D28C8AED8C@microsoft.com...
> Hi,
> Which command returns the script startup / current location? I'm looking
for
> the directory which contains the script not the current working directory.
>
> Many thanks
>

CreateObject("Scripting.FileSystemObject").GetFile(Wscript.ScriptFullName).P
arentFolder



Relevant Pages