Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Shell command problem 1

Status
Not open for further replies.

ihaveaproblem

Programmer
Jul 4, 2003
14
GB
Form a scheduled NT Task i am calling a access database, which inturn then calles a a batch file using the Shell command to connect to a ftp server and transfer a file.

When I run this from access it workes fine, however when I run the scheduled task it hangs when trying to open the ftp server.

Any ideas why this is happening, and is it possible to send the ftp commands from within Access VBA?

Any suggestions\hime would be wolcomed.

 
Why are using the Shell command.

Run the RunApp from your macro it should work fine!

Let me know.
 
zevw,
I have spent the past couple of days trying to launch a simple batch program from Access97 and have been lost in Shell #@!!. Your post has saved me the rest of the weekend to finish my project. Thanks and here's a star ...
-zmeistr...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top