J
jonefer
I have a batch file "A.Bat" that opens a couple of RTF's
using Microsoft Word.
Because it requires a parameter, I need to call it using
the command prompt. This works fine.
It's a hasstle though to have to open a command prompt
each time and CD to the directory that "A.Bat" is in so I
wrote another batch file that calls "A.Bat" from the
correct location and conveniently opens up a parameter
window.
However... this line in A.Bat:
"C:\Program Files\Microsoft Office\Office\winword.exe"
wordfile_~1.rtf wordfile_~2.rtf wordfile_~3.rtf
doesn't work anymore. It just says: "Bad Command"
What gives?
using Microsoft Word.
Because it requires a parameter, I need to call it using
the command prompt. This works fine.
It's a hasstle though to have to open a command prompt
each time and CD to the directory that "A.Bat" is in so I
wrote another batch file that calls "A.Bat" from the
correct location and conveniently opens up a parameter
window.
However... this line in A.Bat:
"C:\Program Files\Microsoft Office\Office\winword.exe"
wordfile_~1.rtf wordfile_~2.rtf wordfile_~3.rtf
doesn't work anymore. It just says: "Bad Command"
What gives?