what is in the batch file is :
cmd.exe /C xcopy <source_path> <destination_path> 2>> <Error_file_path>

All paths are valid.
when I execute the batch file from the OS (double click, or command line) it 
works, and does NOT create an error file.
When run from LEP it does nothing, and creates an empty error file.

I will have to check, but I am mostly sure that the windows OS (7) is 32 bit

> On 9 Nov 2017, at 4:44 am, Chip Scheide via 4D_Tech 
> <[email protected]> wrote:
>> 
>> I have tried all of the offered suggestions:
>> Start ?b
>> running without a call to cmd
>> \batchfilename\
>>  extended this to cover the file paths in the batch file
>> 
>> none of these result in file copying when started with LEP.
>> HOWEVER the batch file contains a redirect of stderr to a disk file, 
>> when run though LEP the error file is created.
>> The error file is empty... but it is created.
>> SO.. LEP is actually executing the batch file, just not doing anything.
>> 
>> any more ideas??
> 
> Hey Chip
> 
> What is in the batch file? Are you calling a Windows .exe from the 
> System32 folder? Don't forget that even if you give a full path to 
> the C:\Windows\System32\some.exe on a 64-bit OS from a 32-bit 
> application what will actually be run is C:\Windows\SysWOW64\some.exe 
> and there are a lot of exe files that *only* exist in the System32 
> folder, i.e. they don't have a 32-bit counterpart.
> 
> cheers
> J
> 
> **********************************************************************
> 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]
> **********************************************************************
------------
Hell is other people 
     Jean-Paul Sartre
**********************************************************************
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