in reply to File Attributes in Win32
I could be wrong but I think that when you use -A on the filename, you need to specify the path as well unless the file is located in the same directory as where you call the script.( similiar to your unlink ("$dirPath\\$file") statement)
As a result, undef is being returned instead of the number of days since the file couldn't be found.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: File Attributes in Win32
by azatoth (Curate) on May 01, 2001 at 19:00 UTC |