in reply to System command clips off last part of local url when folder name has a space in it
use URI::file; my $path = 'C:/Code/Perl/Phi Kap/temp.html'; my $url = URI::file->new($path)->as_string(); system "start $url";
Update: Nevermind, this doesn't work. start recognizes the http URI scheme, but not file one (because the HKEY_CLASSES_ROOT\file doesn't have shell\open defined).
|
|---|