Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Notepad
Message
From
28/04/2005 10:24:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01009247
Message ID:
01009248
Views:
18
>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)
Previous
Reply
Map
View

Click here to load this message in the networking platform