Hi. I am trying to make a program that will launch restricted user-specified programs at my school. How would I make the system() function below make use of the two variables in it.
I've tried && and ||, but the bugger wont work.
#define runasc "runas /profile /user:tsc\\staffuser" system( runasc programc );
programc is whatever the user enters earlier in the program.
Thanks in advance.