>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)