in reply to Open txt file using default program on Windows

Any suggestions?

Type help start and read that document , also help cmd and  perl -V:sh , and use Win32::ShellQuote and cmd.exe /x /c start "" "file"