I'm trying to write a script that traverses our users' Windows Profiles, looking for large .pst files (Outlook's data store, and it tends to become unreliable past about 1GB of data). Each of the profiles is accessible only by its owner, so a simple File::Find-style approach won't work (AFAICT). I know that backup software can get access to the files via Windows's File Backup API (see here), so I tried looking for a way to create a backup-type program in perl. The best thing I've found so far is here (example 3.8), but that uses Win32::API::Prototype which I can't find via Activestate 5.8.6.
I'm guessing the BackupRead function is available in the kernel32.dll library file, so can I link to it another way? (I'm guessing XS-style trickery)
I'm aware of the (potential) security risks with creating a script with the express intention of bypassing the ACLs, but it's not a problem in this case.
In reply to Getting access to the Win32 BackupRead API function by davis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |