Jump to content
Macro Express Forums

Use Current Folder Of Mxe-file Within Macro?


Recommended Posts



I want to have a standard macro (.mxe) that I can copy to any folder that gives me a listing of all the files sorted by date descending.

Can I read the current folder that the mxe-file was started in and use it within the macro in a variable?


I also couldn't figure out how to read in the files in the certain order so what I did is to use an external batch file that does a dos dir with certain switches and read in the result.


Maybe you guys have a better solution or I am just missing some of the builtin feature of ME.


Many thanks in advance,



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...