Visual C++ system command batch file -
when type name of batch file on command line, executes fine, when run vis c++ program uses system("gen.bat")
command, doesn't execute it!
here how i'm doing it:
int ret = system("gen.bat");
you should specify full path of batch file this:
int ret = system("c:\\folder_name\\gen.bat");
Comments
Post a Comment