Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't locate folders that start with a period
Message
From
18/04/2003 16:06:58
 
 
To
18/04/2003 13:39:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00779242
Message ID:
00779333
Views:
14
Curious... Windows Explorer doesn't let you create a file nor directory using a name starting with a period. However, you can still create one through the command line. From my guess, it may be connected to assumptions in connection to the "hide extensions for known file types" setting (i.e. the period is assumed to be a file extension separator). As for why GETDIR() doesn't list it... Maybe there is something regarding the underlying API calls being used? I have also encountered various annoyances and shortcomings of GETDIR() that I'm looking into a replacement. I believe there's a replacement for GETDIR() somewhere in the download area.

On a partially unrelated situation, under UNIX, files and directories starting with a period are hidden. You need to add the "-a" or "-A" option with the "ls" command to list them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform