CURDIR() only returns the path and not the drive. If you want both use:
?FULLPATH('')
Peter Cushing IT Department WHISPERING SMITH
On 20/07/2016 21:34, Joe Yoder wrote:
Actually I discovered that my code was disappearing after the commands were executed so I did some more Googling and found that the value to be saved is returned by CURDIR() rather than SET('DEFAULT'). It gets restored with "SET DEFAULT TO." That explains why things weren't working for me! Somehow it seems better terminology could have been chosen!
Thanks,
Joe
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960