This screen transcript pretty much says it all:
ftype
PerlScript=C:\strawberry\perl\bin\perl.exe "%1" %*
RakuScript=C:\rakudo\bin\raku.exe "%1" %*
assoc
.pl=PerlScript
.raku=RakuScript
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PL;.RAKU
The reason that I have information on perl is that I'm a long-time perl programmer and, more importantly, perl has always worked (extension-free, Perl.exe-free). The assumption I made was that raku would work as well. My question is, what did I miss? Because this next snippet demonstrates that my assumption was wrong.
sub MAIN(Str $filename) {
say "Program Name: ", $*PROGRAM-NAME;
say "File Argument: ", $filename;
}
C:\Users\hsmyers\Rakudo>raku parsepgn 3games.pgn
Could not open parsepgn. Failed to stat file: no such file or directory
C:\Users\hsmyers\Rakudo>raku parsepgn.raku 3games.pgn
Program Name: parsepgn.raku
File Argument: 3games.pgn