Information générale
Titre:
Batch File Failure in VFP6&7
I am running VFP 6 and 7 on a windows 2000 machine. When I step thru the program or run the exe thru the window schedule the bat file does not run and does not give me and error. The bat file perform a ftp of files to a Tandem Machine. The bat file failure forces me to run it manual from the dos command line. It was suggested changing the foxrun.pif to point to cmd.exe. I have also thought about the ShellExecute api that will return and error message if the bat file does not successifull run. Two problem how to get the bat to run in code and how to trap for this error.
msiftp.bat file content
ftp -s:msiftp.scr
ECHO MSIFTP PROCESS COMPLETED.
msiftp.scr file content
open 999.99.99.99 9999
ftp
load
ascii
cd msi.crrdt
put msiresrv.txt
bye
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement