Separate file name and path from a string

Example scripts and tips (replaces Old Scripts & Tips archive)

Moderators: Dorian (MJT support), JRL, Phil Pendlebury

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

Post by Marcus Tettmar » Wed May 29, 2013 7:45 am

Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

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

armsys
Automation Wizard
Posts: 1108
Joined: Wed Dec 04, 2002 10:28 am
Location: Hong Kong

Post by armsys » Wed May 29, 2013 7:50 am

Marcus,
Thanks.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Fri May 31, 2013 11:26 pm

Marcus Tettmar wrote:Or in v14 just use the built in ExtractFilePath and ExtractFileName functions:

http://www.mjtnet.com/manual/extractfilepath.htm
http://www.mjtnet.com/manual/extractfilename.htm
These, along with : http://www.mjtnet.com/manual/index.html ... ileext.htm are some of the new features I most commonly use. The old way was so cumbersome, but now it's a breeze!

I actually didn't realize it was a v14 addition - I just thought it was one of those things I hadn't noticed before.

I often spend time just reading through the help file, for that very reason.
Yes, we have a Custom Scripting Service. Message me or go here

User avatar
JRL
Automation Wizard
Posts: 3497
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Sat Jun 01, 2013 2:58 am

Parsnipnose3000 wrote:I actually didn't realize it was a v14 addition...
ExtractFileExt, ExtractFileName, ExtractFilePath functions were actually added with version 12 arguably the best Macro Scheduler version update in the history of Macro Scheduler. Anyone using prior versions don't know what they're missing.

User avatar
Dorian (MJT support)
Automation Wizard
Posts: 1348
Joined: Sun Nov 03, 2002 3:19 am
Contact:

Post by Dorian (MJT support) » Mon Jun 03, 2013 10:54 pm

JRL wrote:
Parsnipnose3000 wrote:I actually didn't realize it was a v14 addition...
ExtractFileExt, ExtractFileName, ExtractFilePath functions were actually added with version 12 arguably the best Macro Scheduler version update in the history of Macro Scheduler. Anyone using prior versions don't know what they're missing.
10-4 on that. :D
Yes, we have a Custom Scripting Service. Message me or go here

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