>Hi all
>
>I am running a RUN command to Export a File from a PDA for stocktaking. After i issue
>the RUN command, I then import the delimited into a table. However, I would like the import
>command to wait until the system has finish downloading the file from the handheld, otherwise the downloading is not complete when I am importing . Any ideas ?
oShell = createobject("WScript.Shell")
lcRun = "cmd"
lnRC = oShell.Run(lcRun, 1, .T.)
? "hello"
If you allow WSH, you can use that for your runs. Manipulate the 3rd parameter and watch for the moment that "hello" is printed. Also manipulate the 2nd parameter (0 or 1). Read the doc on msdn:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/6f28899c-d653-4555-8a59-49640b0e32ea.asp
Groet,
Peter de Valença
Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.