Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting batch file properties
Message
De
06/08/2001 04:56:54
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
06/08/2001 04:24:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00540034
Message ID:
00540041
Vues:
16
>Hi
>
>I have a program that creates a batch file, then runs it, but I want to set the batch file properties to Close on exit - can I do this from VFP?
>
>Thanks
>Kev

Kevin,
Doesn't it close by default ?
create cursor myCommands (commstr c(128))
insert into myCommands values ('c:')
insert into myCommands values ('cd \fpd26')
insert into myCommands values ('dir')
insert into myCommands values ('foxprox')
copy to mybatch.bat type delimited
StrToFile(chrtran(FileToStr('mybatch.bat'),'"',''),'mybatch.bat')
run 'mybatch.bat'
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform