kirk123 has asked for the wisdom of the Perl Monks concerning the following question:

Hi, Is there a way to determine if a folder(directory) or file on windows is a system folder or file. --thanks

Replies are listed 'Best First'.
Re: determining folder or files type
by blaze (Friar) on Apr 17, 2003 at 21:51 UTC
Re: determining folder or files type
by nothingmuch (Priest) on Apr 18, 2003 at 00:33 UTC
    the file tests -f and -d will return true if the file is a file or a directory respectively via -f "/path/to/file"

    -nuffin
    zz zZ Z Z #!perl