Hi!
I want to make a program in C or C++ which can run a .bat file from the folder in which the program is stored.

How can i make that file execute from the c program.

The problem is that how can i get to know from the program itself that where the user has stored the file without requesting the user to store it in a particular folder.