|
|
 |
 |
 |
 |
Perl Programming Language
|
 |
 |
 |
 |
 |
 |
 |
 |
How do I set the folder type in Windows Vista?
I know how to use Perl to change a folder's attributes, but can Perl set the folder type, (All Items, Documents, Pictures and Videos, etc.) found under a folder's Properties/Customize tab for a single folder or a group of folders in Windows Vista? After extensive search, I think the answer is no. Please prove me wrong.
On Mon, 28 May 2007 09:42:50 -0700, Bozzz wrote: > I know how to use Perl to change a folder's attributes, but can Perl > set the folder type, (All Items, Documents, Pictures and Videos, etc.) > found under a folder's Properties/Customize tab for a single folder or > a group of folders in Windows Vista?
Anything that can be done via Windows builtin object libraries, can be done in Perl. Custom folder properties should be supported in WMI (don't ask me where) and WMI can be accessed via Win32::OLE. there is a sample WMI/Perl script here http://www.techiegroups.com/showthread.php?t=48703 the Perl Core modules are endlessly powerful and are only limited by your knowledge -- limited in this case by your familiarity with WMI. WMI is off topic here. cheers, Mark
On Mon, 28 May 2007 14:17:57 -0700, Mark Pryor <tlvie@yahoo.com> wrote: >Custom folder properties should be supported in WMI (don't ask me where) >and WMI can be accessed via Win32::OLE. >there is a sample WMI/Perl script here >http://www.techiegroups.com/showthread.php?t=48703 >the Perl Core modules are endlessly powerful and are only limited by your >knowledge -- limited in this case by your familiarity with WMI.
But W::O is not a *core* module. Anyway I second your claim both with and without "core". Michele -- {$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr (($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB=' .'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_, 256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
|
 |
 |
 |
 |
|