HOw do I get the folder name from the executable

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Alpha_AI
Pro Scripter
Posts: 61
Joined: Wed Sep 19, 2007 9:30 am

HOw do I get the folder name from the executable

Post by Alpha_AI » Mon Aug 11, 2008 4:44 am

Hello,

I would like to get the current full folder path from the executable.
So I need to know the folder of where the executable is.
Kind regards,

Ben

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Aug 11, 2008 5:57 am

If you mean a compiled Macro Scheduler executable, use SCRIPT_DIR
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts