quick easy question

i am using Runtime to execute a VBScript and it works fine with this syntax:
Runtime.getRuntime().exec("wscript \"C:/Path/script.vbs\"");

however, when i change the path to be a network, it gives me an error:
Runtime.getRuntime().exec("wscript \"//server/Path/script.vbs\"");
Error: Unknown option "//server/Path/script.vbs" specified

i know for a fact that i have access to the server, as i reference it in other places in my program. it is the vbscript that is throwing the error, not Java, but i don't know why that would be. my vbscript just finds the memory usage of a specific process and writes that number to a txt file.

I think that the path is not recognized in your case,try to create package in Java project,insert there your VBScript(for example the name of the package is "vbnet"),and for instance your class name where you wanna execute the vbscript is Exec,so you should specify the follofing: