General information
Category:
Coding, syntax & commands
>>>>>Take a look at my FAQ entry on using the CopyFile() API call rather than the DOS COPY command or VFP COPY FILE command. You can also look at using my API_APPRUN class and XCOPY (COPY is an internal command, so running it without a command processor is troublesome) to run DOS commands without a DOS window. You can download API_APPRUN from here on UT.
>>
>>
>>Hola Ed
>>
>>I’ve used your APPI_RUN class to run a DELTREE or a XCOPY command. However, these commands run and complete their tasks successfully without been detected when they finish, even included into a .Bat file. Surely I’m missing something, on the way the LaunchAppAndWait method should be used, since it never returns from it.
>>
>
>Go into Windows Explorer, find the executable, right click, select properties and in the program tab, set close on exit.
>
>>I would appreciate any tips.
>>
>>Thanks in advance
>>
>>Oscar Corte
Worked perfectly with this last hint.
I noticed that when executing a deltree hangs when some output is sent to the screen. However I executed deltree on an empty folder and it returned.
Thanks again
Oscar
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only