You may have to escape the spaces in the path name

Regards

Chuck
------------------------------------------------------------------------------------------------
 Chuck Miller Voice: (617) 739-0306
 Informed Solutions, Inc. Fax: (617) 232-1064       
 mailto:cjmiller<AT SIGN>informed-solutions.com 
 Brookline, MA 02446 USA Registered 4D Developer                
       Providers of 4D and Sybase connectivity
          http://www.informed-solutions.com  
------------------------------------------------------------------------------------------------
This message and any attached documents contain information which may be 
confidential, subject to privilege or exempt from disclosure under applicable 
law.  These materials are intended only for the use of the intended recipient. 
If you are not the intended recipient of this transmission, you are hereby 
notified that any distribution, disclosure, printing, copying, storage, 
modification or the taking of any action in reliance upon this transmission is 
strictly prohibited.  Delivery of this message to any person other than the 
intended recipient shall not compromise or waive such confidentiality, 
privilege or exemption from disclosure as to this communication. 

> On Nov 8, 2017, at 7:41 AM, Chip Scheide via 4D_Tech <[email protected]> 
> wrote:
> 
> I will try that too :)
> and yes it the path name does contain spaces
> 
>> 
>> 
>> On Tue, Nov 7, 2017 at 11:45 PM, Chip Scheide via 4D_Tech 
>> <[email protected]> wrote:
>>> 
>>> SET ENVIRONMENT
>>> VARIABLE("_4D_OPTION_BLOCKING_EXTERNAL_PROCESS";"true")  // wait for it
>>> to finish
>>> LAUNCH EXTERNAL PROCESS("cmd.exe /K
>>> "+$Batch_File_Path;$LEP_Input;$LEP_Output;$LEP_Error)
>>> 
>>> -- $Batch_File_Path - contains the path to the batch file to be
>>> executed, it lives in (4D Command:Temporary Folder)
>>> C:\users\appdata\<something>\temp directory, (I have verified that this
>>> path is correct, and that the file exists at this location)
>> 
>> Could it be that  $Batch_File_Path contains a space? Did you try 
>> LAUNCH EXTERNAL PROCESS("cmd.exe /K 
>> \""+$Batch_File_Path+"\"";$LEP_Input;$LEP_Output;$LEP_Error)
>> 
>> 
>> --
>> 
>> Peter Bozek
> ------------
> Hell is other people 
>     Jean-Paul Sartre
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html <http://lists.4d.com/faqnug.html>
> Archive:  http://lists.4d.com/archives.html 
> <http://lists.4d.com/archives.html>
> Options: http://lists.4d.com/mailman/options/4d_tech 
> <http://lists.4d.com/mailman/options/4d_tech>
> Unsub:  mailto:[email protected] 
> <mailto:[email protected]>
> **********************************************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to