- non functional command when batch calls a batch
- Posted by jonefer on November 19th, 2003
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?
Similar Posts
- Dos batch command (Microsoft Windows) by Ian
- Batch file works in command line but not as a batch (Microsoft Windows) by Danger
- DOS batch command (Microsoft Windows) by Eric
- functional replacement for Epson 2480 LE, for batch scanning prints (Scanners) by theo
- Batch command Q (Microsoft Windows) by Simon Woods

