Help for this page
if (-e "C:\\Data\\Logs") { print "it exists!\n"; ... if (-w "C:\\Data\\Logs") { print "it is writeable!\n"; }