How do I set the folder type in Windows Vista?

B

Bozzz

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.
 
M

Michele Dondi

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,202
Messages
2,571,057
Members
47,667
Latest member
DaniloB294

Latest Threads

Top