Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Notepad
Message
De
28/04/2005 10:24:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
Divers
Thread ID:
01009247
Message ID:
01009248
Vues:
17
>Hi All,
> I have a text file where I have some window command to map a drive.
>Here is the command in the text file (Icvery.txt).
>
>net use w: /d
>net use x: /d
>net use w: \\icv1\c
>net use x: \\icv2\c
>
>How can I execute or tell foxpro to run the command in the text file.
>
>For example Run(icverify.txt)
>
>Thanks
>MA

Copy or rename the file to a file with extnesion .BAT, for example, ICVERIFY.BAT. Then, you can run it with the RUN command.

A BAT file allows you to include several DOS commands. A few programming constructs are also available, but the language is really primitive.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform