8 EXECUTING COMPILED PROGRAMS
This chapter is ostensibly about a bat file executing or calling a program written and compiled in another language. In truth, the syntax to do that is pretty straightforward. The most interesting facet of this chapter is that sometimes the program being executed doesn’t have a defined path in the bat file. How does the bat file find the executable?
The main focus of this chapter will be on two highly important mechanisms for finding such a program, the current directory and the path variable. This topic goes well past the executing of programs. You’ll use it when calling other bat files, and it impacts many ...
Get The Book of Batch Scripting now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.