STRING: #var4
#var4=.sh2 // for V4.5 shape file
#VAR3=STRIP_EXT(SHPFILE())// returns drive, path and pm4 file name with no
extension on it
// ie: j:\job\hs0253bAUTO_ANSWER[ AA="OK" ]
SAVE[FN=STRTMP("%VAR3"), FT=3, GS=0, WP="XY_PLANE"]
// save .SH2 file as a .PM4 file
SHELL[CMD_LN=STRTMP("erase STRTMP("%#VAR3%#VAR4")"), WA=1, DP=0]
AUTO_ANSWER[ AA="OFF" ]
The SAVE command works fine.
The SHELL to DOS, and the DOS erase command is not working.
Why?
Thanks for the input so far.
-----Original Message-----
From: Michael DeBerry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 11:41 AM
To: Michael Senack; [EMAIL PROTECTED]; '[EMAIL PROTECTED]'
Subject: Re: [mfg-smartcam] Macro help
SHELL[CMD_LN=STRTMP("erase c:\\abtemp\\mikey?.txt"), WA=1, DP=0]
SHELL[CMD_LN=STRTMP("erase c:\\abtemp\\8952.prb"), WA=1, DP=0]
SHELL[CMD_LN=STRTMP("erase c:\\abtemp\\A0A.PUN"), WA=1, DP=0]
thats how I do it
Mike DeBerry
----- Original Message -----
From: Michael Senack <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; Michael Senack <[EMAIL PROTECTED]>;
'[EMAIL PROTECTED]' <[EMAIL PROTECTED]>
Sent: Thursday, July 12, 2001 11:55 AM
Subject: RE: [mfg-smartcam] Macro help
> Yes, file delete from the menu as in
> File, Delete File and enter the file to delete
> and press Accept.
>
> Can this be done from within a macro like
> the save command...?
> SAVE[FN=STRTMP("%VAR3"), FT=3, GS=0, WP="XY_PLANE"]
>
> -----Original Message-----
> From: Bob Looney [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 12, 2001 11:40 AM
> To: 'Michael Senack'; '[EMAIL PROTECTED]'
> Subject: RE: [mfg-smartcam] Macro help
>
>
> file delete from the menu
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Michael Senack
> Sent: Thursday, July 12, 2001 7:37 AM
> To: '[EMAIL PROTECTED]'
> Subject: [mfg-smartcam] Macro help
>
>
> I'm looking for a Macro Command that allows you to delete a file from
within
> SmartCAM.
>
> ie: w:\job\hs0253b.sh2
>
> Is there such a command?
>
>
> Regards,
>
> Michael Senack, CNC Programmer
> Blount Canada Ltd
> 505 Edinburgh Road North
> Guelph Ontario
> N1H 6L4
> 519 822 6870 X354
> FAX 519 822 1450
>
> http://www.blount.com/
>
> ======================================================================
> To find out more about this mailing list including how to unsubscribe,
> send the message "info mfg-smartcam" to [EMAIL PROTECTED]
> ======================================================================
> ======================================================================
> To find out more about this mailing list including how to unsubscribe,
> send the message "info mfg-smartcam" to [EMAIL PROTECTED]
> ======================================================================
>
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================