in reply to spaces in filepath on Win32

You could use the LIST form of system:

system($path, $ARGV[1]);

Where $path may contain whitespaces.