Hei guys, I'm having some troubles with % ...
So here's the code:
String random = "%RANDOM%";
if (RadioButton1.isSelected()){
try {
Runtime.getRuntime().exec(AppLocation+"MyApp.exe -MyApp_Session "+random);
[....]
As you can see I'm trying to run MyApp.exe with parameters, but because of %RANDOM% it doesn't the the parameter. Also keep in mind that this is a button action performed.
PS: AppLocation is where my exe is and the string i made to try out, it doesn't work if i place the %RANDOM% on Runtime. Also to be noted i tried with ProccesBuilder same result...
How i can make this work ?
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)