Mapkey to delete export log files
My goal is to delete the DXF and DWG export log files that get created. If anyone knows of a setting to prevent them from even being created, that would be appreciated. However, I don't think there is. So I'm trying to do it using a mapkey. The location of the log files is the working directory. If I use the full path in the mapkey, it works. But I would like to use some Pro/E command that will automatically know the path.
Works:
mapkey dl @SYSTEMdel C:\\Users\\BOB\\Desktop\\*__out.log.*;
Doesn't Work:
mapkey dl @SYSTEMdel C:\\proe_dir\\*__out.log.*;
mapkey dl @SYSTEMdel proe_dir\\*__out.log.*;
mapkey dl @SYSTEMdel %proe_dir\\*__out.log.*;
mapkey dl @SYSTEMdel %proe_dir%\\*__out.log.*;
Any thoughts on this?
Is there a good resource on using the SYSTEM command for the mapkey besides just using regular dos commands? Like any Pro/E specific commands (if there is one for the current directory.
Thanks!
This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.

