Eradicatore has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone know how I could, in a perl script, change the folder options in windows 2000? For example, if I want to change the "Do not show hidden files and folders" to "Show hidden files and folders" can I do that? Thanks for any information.

Justin Eltoft

"If at all god's gaze upon us falls, its with a mischievous grin, look at him" -- Dave Matthews

Replies are listed 'Best First'.
Re: Changing windows
by $code or die (Deacon) on Jul 17, 2001 at 17:06 UTC
    This is more of a windows question than a perl question. But what you are looking for is probably in the registry. A quick check brought me to this key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\A +dvanced
    If this is the case, then you can use Win32::TieRegistry which comes with ActivePerl. You might want to do a search at mdsn.

    Update: I found that key on a Win2k Server, I don't know if it's different on NT\9x\Me. Check MDSN

    Error: Keyboard not attached. Press F1 to continue.