Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
2.6 with 2K and ftp
Message
De
06/09/2002 09:31:17
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00696620
Message ID:
00697471
Vues:
13
>Maybe you've another program with name ftp on that PC? Can you run ftp command from the "dos" command prompt? You can also try to specify full path '!c:\winnt\system32\ftp'.
>

Shelling to DOS behaves differently under Win9x and WinNT derived OSes. FPDOS, rather than starting a new instance of the command line interpreter (COMMAND.COM) tried to start the new executable from within DOS, which presents a DOS CLI rather than the DOS/Windows CLI. Running from a batch file, explicitly starting a new command line processor (try
RUN COMMAND /C c:\myWinApp.Exe
rather than
RUN c:\myWinApp.Exe
) or changing the default PIF for the command processor under Windows on each box will address the issue.

>>I'll be damned. I tried this on a Windows 2000 machine in our other office across town and it worked there. I guess I have some other problem. The message I get reads: THIS PROGRAM CANNOT BE RUN IN THE DOS MODE.
>>
>>Thanks anyways
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform