Re: get script name
- From: "Big D" <BigDaddy@xxxxxxxxxxxxxxxx>
- Date: Wed, 22 Jun 2005 13:00:37 -0400
How can I use the command and drop the path? I just want the script name.
So,
DeployAll.vbs
CODE:
WScript.Echo "current script name =", WScript.ScriptFullName
Output:
current script name = C:\Documents and
Settings\jbrown.LIMITED\Desktop\DeployAll.vbs
"Ato Bisda" <atobisda@xxxxxxxxx> wrote in message
news:%23GefFM0dFHA.3224@xxxxxxxxxxxxxxxxxxxxxxx
> Sorry I meant to say Wscript.ScriptFullName
>
> "Big D" <BigDaddy@xxxxxxxxxxxxxxxx> wrote in message
> news:OggWc4zdFHA.3328@xxxxxxxxxxxxxxxxxxxxxxx
>> How can I get the name of the script I am running?
>>
>> FOR EXAMPLE,
>>
>> Lets say I execute DeployAll.vbs and when this script is running I want
>> to
>> be able to get the name if script and I store in memory.
>>
>> If I were to Wscript.Echo Filename,
>> I would expect DeployAll.vbs.
>>
>> Thanks!
>>
>>
>>
>
>
.
- Follow-Ups:
- Re: get script name
- From: Torgeir Bakken \(MVP\)
- Re: get script name
- References:
- get script name
- From: Big D
- Re: get script name
- From: Ato Bisda
- get script name
- Prev by Date: Re: get script name
- Next by Date: Re: get script name
- Previous by thread: Re: get script name
- Next by thread: Re: get script name
- Index(es):
Relevant Pages
|