Never tried this form but just guessing,
What's the output when you submit this jar: \\shares\publish\Spark\app1\ someJar.jar using spark-submit.cmd
Never tried this form but just guessing,
What's the output when you submit this jar: \\shares\publish\Spark\app1\ someJar.jar using spark-submit.cmd