http://www.perlmonks.org?node_id=137666


in reply to Open Directory using Win32:GUI?

Righto... I found some stuff, but not exactly what I was after
From the Documentation...
BrowseForFolder( OPTIONS ) Displays the standard ``Browse For Folder'' dialog box. Returns the selected item's name, or undef if no item was selected or an error occurred. Note that BrowseForFolder must be called as a standalone function, not as a method. Example:
$folder = Win32::GUI::BrowseForFolder( -root => "C:\\Program Files", -includefiles => 1, );
other options are... -computeronly, -domainonly, -driveonly, -editbox, -folderonly, -includefiles, -owner, -printeronly, -root, -title
What I was actually thinking of was
$ret = GUI::GetSaveFileName( -title => "Save your newly generated Mail Merge Document.", -file => "\0" . " " x 256, -filter => [ "Word documents (*.doc)" => "*.doc", "All files", "*.*", ],
With another option in there, but I can't find it anywhere. Oh well, I am sure that browse for folder will work. Let me know how you get on.
Regards, Gerard.