in reply to Re^2: C:\ProgramData\Microsoft\Windows\Start Menu is not an internal or external command,operable program or batch file
in thread C:\ProgramData\Microsoft\Windows\Start Menu is not an internal or external command,operable program or batch file

That's a path of a directory, not an executable. Are you trying to launch windows explorer opened at this path? If you want to actually launch Microsoft word provide the full path to the executable (like the example I gave you for ffmpeg.exe), in my case (it won't be the same for you):

my $word = 'C:\\Program Files (x86)\\Microsoft Office\\Office12\\winwo +rd.exe'; system('start "" "' . $word . '"');

Update: also, see http://learn.perl.org and the Tutorials section.

  • Comment on Re^3: C:\ProgramData\Microsoft\Windows\Start Menu is not an internal or external command,operable program or batch file
  • Download Code