THere are probably several ways to do this. Here's one:

use Win32::GUI;
my $file = Win32::GUI::GetOpenFileName();
print $file;



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Thursday, February 10, 2005 3:04 PM
> To: [email protected]
> Subject: Directory browsing in a dialogbox
> 
> 
> Hello everybody
> 
> When I run my script I want a dialogbox where the user can 
> browse the directories
> on his computer and select a file. The name of the selected 
> file is used
> for further processing within the script. I' m thinking about 
> something similiar
> to the directory selection in installation scripts. How can I 
> do this? 
> 
> Thanks for your help
> 
> Roland
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
> 
> 
> __________________________________________________________
> Message transport security by GatewayDefender.com
> 3:07:20 PM ET - 2/10/2005
> 
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to