Try: wd 'winexec "c:\Program Files\Microsoft Office\Office11\MSAccess.exe" "q:\Finance\Budget Management\path\pathology.mdb /x import"'
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Saunders, John (TQEH) Sent: Wednesday, May 30, 2007 20:44 To: Programming forum Subject: [Jprogramming] winexec command line Hello everyone; I'm trying to call an access macro from my J script and the below example tries to open budget.mdb rather than following the full file path due to a space in the folder name, can anyone please suggest a way to get around this ( I can't rename the folder) wd 'winexec "c:\Program Files\Microsoft Office\Office11\MSAccess.exe q:\Finance\Budget Management\path\pathology.mdb /x import"' many thanks John ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
