Syntactic Confectionery Delight | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi, the most correct way to get the "ProgramFiles" Folder would be to use Win32::GetFolderPath(FOLDER), where FOLDER is the constant CSIDL_PROGRAM_FILES. And yes, it is true that Administrator rights are necessary to write to this Folder, so you have to start your perl program "as Administrator". A warning: If you try to write an Installation program using perl, don't do this! Use some kind of open source Software like NSIS or WIX to create an Installation package. In reply to Re^2: Write file in Windows Programs folder
by Anonymous Monk
|
|