Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > How do I set the folder type in Windows Vista?

Reply
Thread Tools

How do I set the folder type in Windows Vista?

 
 
Bozzz
Guest
Posts: n/a
 
      05-28-2007
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.

 
Reply With Quote
 
 
 
 
Michele Dondi
Guest
Posts: n/a
 
      05-28-2007
On Mon, 28 May 2007 14:17:57 -0700, Mark Pryor <(E-Mail Removed)>
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,
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
SOLVED - windows xp rename folder within shared folder, notrefreshing window jameshanley39@yahoo.co.uk Computer Information 0 07-30-2008 06:33 PM
Set folder date to date of newest file in the folder? jhigbee@nyx.net Computer Support 4 08-16-2005 08:09 PM
java.lang.Set with elements of type java.lang.Set Harald Kirsch Java 4 08-31-2004 10:40 AM
Can't copy Outlook Ex files in folder to Windows folder? Paul - xxx Computer Support 2 08-20-2003 03:06 AM



Advertisments