runing a console app from a batch file with indefinite params
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
How to run a VC console app from a batch file but with variable number of params? file.bat vcConsole.exe %???? > file.bat param1 params2 param3 ... paramN and pass them all at once without %1 %2 %3 ... in batch file?
9ine
use
%1-
instead... sorry, this was the unix way. use%*
to expand all the parameters excluding the %0 (which is the batch file name).b
TOXCCT >>> GEII power
[VisualCalc 3.0 updated ][Flags Beginner's Guide new! ]