At the end of a macro, I'd like to open the folder that contains the files
created in the macro.  I'm using the SHELL command.  I haven't quite got it.
It appears as if a window displays and then disappears in the blink of an
eye.  This is what I've got:

At the end of the main macro, I have:

STRING:#FILEPATH
STRING:#SFILE
#SFILE=SHPFILE()
#FILEPATH=GET_PATH(#SFILE)
MAC_EXE[FN=<path\filename>

In the macro executed by the MAC_EXE command I have:

SHELL[CMD_LN=STRTMP(%#FILEPATH),  DP=0, WA=1]

I checked the FILEPATH variable and it was assigned the correct working path
so I'm thinking it has something to do with the syntax in the SHELL command.
I've used the above method successfully to open a file but I can't get it to
open a folder in windows explorer.


Regards,
Pete Ruehle
SPM
Armonk, NY

======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================

Reply via email to