Obviously this has bee asked so many ways and I have read a bunch of the postings.
First someone please clear this up:
I am attempting to run PCAnywhere from the command line. It works perfect as long as I do not mind my VFE code running the program but NOT waiting on PcAnywhere to complete before continuing to the next command in my method.
In other words with RUN /N1 everything works perfect except the next line gets executed BEFORE PcAnywhere completes it's task.
The same exact command does not work at all if I do not pass the /N1.
I have converted all the long pathnames to XXXXXX~1 so there were no spaces in the command line and without the /N still no success.
Obviously you can not use the RUN command to run a dos command and wait.
So, the question is how do I accomplsih this? I have read a lot of postings about using some VisuallBasic stuff, but I have no Visual Basic stuff and know nothing about VB.
Anybody have options?
Thanks,
John
First someone please clear this up:
I am attempting to run PCAnywhere from the command line. It works perfect as long as I do not mind my VFE code running the program but NOT waiting on PcAnywhere to complete before continuing to the next command in my method.
In other words with RUN /N1 everything works perfect except the next line gets executed BEFORE PcAnywhere completes it's task.
The same exact command does not work at all if I do not pass the /N1.
I have converted all the long pathnames to XXXXXX~1 so there were no spaces in the command line and without the /N still no success.
Obviously you can not use the RUN command to run a dos command and wait.
So, the question is how do I accomplsih this? I have read a lot of postings about using some VisuallBasic stuff, but I have no Visual Basic stuff and know nothing about VB.
Anybody have options?
Thanks,
John