Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fullpath()
Message
De
08/12/1997 06:29:04
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
04/12/1997 20:13:44
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00063923
Message ID:
00064401
Vues:
41
>I have an exe(exe1) on the c: drive. In exe1, I kick off anther exe(exe2)located on my o: drive. Within exe2 I call:
>var1 = FULLPATH("exe2")
>so that I can get the path to exe2. I am expecting var1 to equal "o:\", however it takes on the path of the original exe and makes var1 equal to "c:\". How can I get the path to exe2?
>
>Thanks - Ed

When you call another exe (exe2) you do it by two ways :
- drive:\path\exe2.exe && In this case you already know the path and pass it as parameter.
- exe2.exe && In this case it's located in DOS search path, so use fullpath("exe2.exe",1)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform