my $explorer = 'c:/winnt/system32/explorer.exe'; my $directory = 'D:\\'; system($explorer,$directory) == 0 or die "Error starting $explorer : $!/$?";