Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fullpath()
Message
From
08/12/1997 06:29:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
04/12/1997 20:13:44
Edward Crawford
City Facilities Management
Glasgow, United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00063923
Message ID:
00064401
Views:
36
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform