Can anyone let me know how I could include a variable within a system command?
(This is a win32 project and not an application.)
I am using: (some code taken out)
system(("set path=%path%;"+user).c_str());
system(("set CLASSPATH=.;"+usertwo).c_str());
system(("java -Djava.security.manager -Djava.security.policy="+user+"\examplepolicy
Xsys").c_str());
Thanks in advance!!!