Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DOS Copy Command/VFP 6.0
Message
From
13/08/1999 17:47:06
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00244498
Message ID:
00253657
Views:
65
>>>>>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
Map
View

Click here to load this message in the networking platform