Syntax to Start Program in .bat file

Trying to create a .bat file to run the following program.  Not sure how to format when the program folder has spaces in the name.  Wish to start the following pgm:

'\\wpgwms-fs1\milldata$\nmi planer inline tally\moise.exe'
Who is Participating?

Just enclose the whole path name in  double quotation marks:

"\\wpgwms-fs1\milldata$\nmi planer inline tally\moise.exe"
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.