Cheat sheet for opendir()
Kenneth Brody
kenbrody at spamcop.net
Tue Dec 1 09:15:30 PST 2009
Richard Kreiss wrote:
[... Windows doesn't have "." and ".." in the root directory ...]
> As far as I am concerned, it is a bad practice to place a file or files one
> wants to use in the root directory. At no time do I want my users(clients)
> to have access to a root directory, even through a program. This can lead
> to a disaster either unintentional or intentional.
Note that Vista and Windows 7 (which, BTW, is Windows version 6.1) don't
allow files to be created in the root directory. Even admin accounts can't
do it. Only if you run a program with raised privileges can you create (or
even edit, AFAICT) files in the root directory.
--
Kenneth Brody
More information about the Filepro-list
mailing list