Thread windows attrib mit perl? (40 answers)
Opened by bianca at 2009-10-10 12:31

bianca
 2009-10-10 12:59
#126812 #126812
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
Bin wieder zu doof.

In der Anleitung steht:
Quote
GetAttributes(filename, returnedAttributes)
Gets the attributes of a file or directory. returnedAttributes will be set to the OR-ed combination of the filename attributes.


Ich mache
Code (perl): (dl )
my $test = Win32::File -> GetAttributes ('ftp.pl', 'A');

und bekomme
Code: (dl )
Usage: Win32::File::GetAttributes(filename, attribs) at ftp.pl line 24.


Und mit
Code (perl): (dl )
my $test = Win32::File -> GetAttributes ('ftp.pl');

erhalte ich
Code: (dl )
Modification of a read-only value attempted at ftp.pl line 24.


Bitte um Hilfe....*duck*
10 print "Hallo"
20 goto 10

View full thread windows attrib mit perl?