Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last Folder
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01240179
Message ID:
01240286
Views:
14
? justfname(justpath(lcYourEXEFullName))

Where, of course, lcYourEXEFullName is the fullpath + name of the exe, for example

D:\Projects\vfp\office\accounts\myEXE.exe

>My problem still not solved
>Actually I want to get the last folder name where exe is located.
>
>My exe file is located in accounts folder
>D:\Projects\vfp\office\accounts
>
>So I want to get accounts as last folder name
>
>Please help agina
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform