Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get file extension of a file
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Get file extension of a file
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01386175
Message ID:
01386175
Views:
104
How do I get the file extension of a file. I am trying to determine if the file in my ADIR() has a .txt extension or not. If it doesn't I need to rename the file so it does have a .txt extension. The file that is being looked at is called KERNPRO.ACTION and it doesn't have a .txt extension. Sometimes the file maybe named SOMENAME.SOMENAMEAGAIN.TXT or just SOMENAME.SOMENAMEAGAIN without the extension.

Thanks
Nick
Next
Reply
Map
View

Click here to load this message in the networking platform