RE: Determining When a DOS Command is Finished In Access - BCP
Tech Tip: Click here to run a free scan for Windows Errors and optimize PC 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: 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) - Re: The Save-With-Replace Bug
... reality just a modified version of the DOS for the 1540, ... The SAVE@ bug is simply the result of a coding error ... in the disk command. ... ALWAYS reset your disk drive (using the "UJ" DOS command or one of its ... (comp.sys.cbm) - Combining Files - Think Outside the Box
... I daily get a file of sales on the product I ... I have been trying to avoid opening one file at a ... in the same folder (or Directory as DOS calls them), ... and using the DOS command: ... (microsoft.public.excel.misc) |
|