I am new to java,
I need to execute the run.vbs script from a particular folder say C:UsersApplicationTools
un.vbs.
I am able to start the script from "windows run" by just giving the location i.e.
"C:UsersApplicationTools
un.vbs" and clicking on "Enter". But, when i call the same scirpt using:
Runtime.getRuntime().exec("C:\Users\Application\Tools\run.vbs")
It is giving the error "unable to access the specified file xxxx.war" which is the file vbs script is accessing.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…