Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Batch File Failure in VFP6&7
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Batch File Failure in VFP6&7
Divers
Thread ID:
00789043
Message ID:
00789043
Vues:
65
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
Fil
Voir

Click here to load this message in the networking platform