Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
GetFileName for Files with no Extension
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01601860
Message ID:
01602095
Views:
62
>>I want to use GetFile() to retrieve File names with no Extensions. According to MSDN, you simply pass ";" as the first Parameter. Have done this but only seeing SubFolders. Am I missing something?
>
>Hi,
>
>Would you be able to give the hyperlink in MSDN with this info?
>getfile('*.*') or getfile('*;*') or getfile() all give me inclusing the exstension. Is that not what one would suspect? The * is a wildcard
>Regards,
>Koen


I think the issue is that normally to get files without extension you use the mask *. (Star Dot), this works well in a command window, try DIR *. in a command window and you only get file and folders that have no extension, but when you try getFile('*.') only folders are listed, the files are ignored, at least that is what I see in Windows 8.1 (soon to be rolled back to 8.0 as 8.1 is a piece of crap)
"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