RE: Determining When a DOS Command is Finished In Access - BCP
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
There is a better method that shelling out to a .bat file to do this. Look
at the FileSearch object in Access. I think if you replace your DOS shell to
the FileSearch, you will be happier with the result.
"BCP" wrote:
> I have an auto hyperlinking process that creates a DOS BAT file that performs
> the DIR command and writes it to a text file. The process works great most
> of the time but some times Access gets ahead of the DOS command. I need to
> find a way to tell if the DOS command has finished or if the DOS window,
> which closes after the command is completed, has closed. Possibly if I could
> determine the status of a given Window or the presence of a Window that might
> be the ticket.
.
Relevant Pages
- RE: Determining When a DOS Command is Finished In Access - BCP
... address the another thing we use .BAT for. ... > There is a better method that shelling out to a .bat file to do this. ... I think if you replace your DOS shell to ... >> of the time but some times Access gets ahead of the DOS command. ... (microsoft.public.access.externaldata) - Re: How do I...
... I initiated the BAT file from the Registry without any ... trying to get the "DOS CMD.EXE" window to either run ... >> file that contained the command worked. ... (microsoft.public.windowsxp.setup_deployment) - Re: Linux Counter updated!!
... I had a friend in Helena Montana that made a living writing DOS bat file scripts and he wrote a utility that would automate generation of complex bat files. ... I used dBase to maintain my territory records and royally jerked off my District manager who thought it was evil to turn in a monthly report printed out instead of done laboriously by hand, ... ..the Sin of Ignorance, ... (Ubuntu) - Re: Printing a listing from Windows Explorer
... Highlight and the "ctrl C' to copy the complete directory string ... You can use all DOS switches in the BAT file ... This works on any Windows Dos computer. ... (alt.os.windows-xp) - Re: DOS window disappears
... That did the trick - and adding exit after the pause closes the window after pressing a key. ... If you want the window to remain open, type "cmd" into run to first open the DOS window. ... If you want to use a BAT file or something like that, add a line for the "cmd" instruction. ... :> for DOS Programs accessed by clicking an icon. ... (microsoft.public.windowsxp.help_and_support) |
|