
DOS Batch File to Copy Files from an Access Application
John...
Can you use the internal access commands to copy the files. Here's the
psudo code I'd use:
1. Read the files from the disk into an array using the directory command
2. If I get an error throw an message and quite.
If not then For Next through the array using the filecopy command.
Good luck.
Lancer
Quote:
> Hello,
> I have a MS Access database that uses the Shell command to run a batch
> file that XCOPYs a file. I know that a number of the DOS commands are
> no longer available in XP and Windows 2000. Is there a way to test to
> ensure that the user has inserted a floppy disk as part of the DOS batch
> file? If not, is there any easy way to test this in Access before
> calling the batch file? Any help would be greatly appreciated.
> Thanks, John