Try this:-
CODE[FN=STRTMP("M:\NCOUT\%#FILE_NAME"),
MS1="L:\SMARTCAM\SMF-TMP\RYE-M29.smf",
MT1="L:\SMARTCAM\SMF-TMP\RYE-M29.tmp", SH=0, DC=0, ST=0, DT=0,SP=9]
> Andy Beardmore <<...OLE_Obj...>>
> CadCam Technician
> SPS Aerostructures Ltd., UK
> Machining Facility, Mansfield
> Tel : +44 (0) 1159 880 500 ext.1586
> Fax : +44 (0) 1159 880 501
> E~Mail : [EMAIL PROTECTED]
>
>
> ----------
> From: lee[SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 3, 2002 10:19 PM
> To: Smartcam Mailing List (E-mail)
> Subject: [mfg-smartcam] change path macro
>
> this macro runs just fine, it creates a code file at the same location (on
> our network) as the current model file. I would like to output the code
> file into another drive and folder on our network. What would be the best
> way to control the new file location (path).
>
> I spent some time adding a PROMPT to the macro with a request for a user
> variable that defined the new path but had no luck.
>
> I am new at working with macro's so please be patient and very
> descriptive.
>
> STRING: #var1
> STRING: #var2
> STRING: #var3
> STRING: #var4
> STRING: #var5
> STRING: #var6
>
> //FADAL
> #var1=JOB FILE()
> #var2=STRIP_EXT(#VAR1)
> #var3=STRTMP("%#var2.FAD")
> CODE[FN=#var3, MF="v:\msmf\v5_FADAL.SMF", TF="v:\msmf\v5_FADAL.TMP",
> SH=0, DC=0, ST=0, DT=0, SP=9]
>
> Lee Greer
> CNC\CAD programmer
> Midwest Precision Tool & Die
>
>
======================================================================
To find out more about this mailing list including how to unsubscribe,
send the message "info mfg-smartcam" to [EMAIL PROTECTED]
======================================================================