| [reply] [d/l] |
If deleting the temporary internet files is your only requirement, then there's no need to know the actual user list -- you can simply just find (File::Find) and delete c:\documents and settings\*\local settings\Temporary Internet Files\* or whatever the wildcard is.
To find the actual users, i'm not sure -- i find out how to do that in general first, and then use that as a guide to find the right Win32 module. (Or maybe it's an external command you can backtick)
Update: Doh -- i cpan-searched for "Win32::Admin" .. BrowserUK found the right one at Win32::NetAdmin . | [reply] [d/l] |
Win32::Lanman::NetUserGetInfo
Win32::Lanman::NetGroupEnum
Win32::Lanman::NetGroupGetUsers
Win32::Lanman::NetGetDCName
However, it disturbs me that Win32::Lanman, though powerful
and comprehensive, is not on CPAN. Anyone know why?
| [reply] [d/l] [select] |
However, it disturbs me that Win32::Lanman, though powerful and comprehensive, is not on CPAN. Anyone know why?
It's there, the source package just doesn't contain the data that CPAN needs in order to index it. You can find it in the authors/id/J/JH/JHELBERG/ directory though. Maybe someone needs to reach out to the author and create at least a META.yml file for them to include that would let it get indexed.
| We're not surrounded, we're in a target-rich environment! |
|---|
| [reply] |