Win32::File
am 22.11.2005 15:49:59 von George Bouras
# The $attr for this file is 8224 something should never happen
# as the maximum returned value (from the documentation)
# is 4096 ! Any help is wellcome.
use Win32::File;
my $file = "$ENV{systemroot}\\notepad.exe";
Win32::File::GetAttributes($file,my $attr);
print $attr;
Re: Win32::File
am 23.11.2005 00:12:58 von Matt Garrish
"George Bouras" wrote in message
news:dlvau8$mm8$1@ulysses.noc.ntua.gr...
># The $attr for this file is 8224 something should never happen
> # as the maximum returned value (from the documentation)
> # is 4096 ! Any help is wellcome.
>
> use Win32::File;
> my $file = "$ENV{systemroot}\\notepad.exe";
> Win32::File::GetAttributes($file,my $attr);
> print $attr;
>
It might be more useful if you gave your platform, version(/build if
ActivePerl) of perl and the version number of the Win32::File module you're
using. I get the output 32 from your script above on WinXP with 5.8.7 Build
813 using Win32::File version 0.05.