ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH
advanced | search help

Reference
ActivePerl 5.6
Modules
Win32
AuthenticateUser
ChangeNotify
Clipboard
Console
Event
EventLog
File
FileSecurity
Internet
IPC
Job
Mutex
NetAdmin
NetResource
ODBC
OLE
PerfLib
Pipe
Process
Registry
Semaphore
Service
Sound
TieRegistry
File
Net
Registry
RobotRules
Parser
Simple
Lite
Test
APItest
Typemap

MyASPN >> Reference >> ActivePerl 5.6 >> Modules >> Win32

 Win32::File - manage file attributes in perl


NAME

Win32::File - manage file attributes in perl


SYNOPSIS

        use Win32::File;


DESCRIPTION

This module offers the retrieval and setting of file attributes.


Functions

NOTE

All of the functions return FALSE (0) if they fail, unless otherwise noted. The function names are exported into the caller's namespace by request.

GetAttributes(filename, returnedAttributes)
Gets the attributes of a file or directory. returnedAttributes will be set to the OR-ed combination of the filename attributes.

SetAttributes(filename, newAttributes)
Sets the attributes of a file or directory. newAttributes must be an OR-ed combination of the attributes.


Constants

The following constants are exported by default.

ARCHIVE
COMPRESSED
DIRECTORY
HIDDEN
NORMAL
OFFLINE
READONLY
SYSTEM
TEMPORARY

 Win32::File - manage file attributes in perl


Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved