Sign in to follow this  
Followers 0
Guest BoobCHUUB

Filenames- confusing me

2 posts in this topic

Hi all! This is my first post here (hehe) but I am sure it will not be my past.

I have a bit of a wierd question. How can I tell the filename of my script. So if the user changes it, I will still be able to know what it is.

This is what I am trying to do,. I want to copt the file that contains the script (the exe file) to another location. I know the @ScriptDir command that tells you the wherabouts of the file, but I need to know a script to tell the filename of the file.

Can anyone that knows please tell me? I am kinda desperate.

Thanks!

Share this post


Link to post
Share on other sites



@ScriptFullPath Equivalent to @ScriptDir & "\" & @ScriptName

@ScriptName Long filename of the running script.


Sitting comfortably behind the code.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0