windows - Use space in batch file -
this question has answer here:
i want run this:
java -jar c:\users\me\desktop\example.jar @c:\users\me\desktop\my folder\text.txt
but error:
error: c:\user\me\desktop\my (access denied)
obviously, problem space ("my folder"). how can fix this?
you can try use double quotes
java -jar "c:\users\me\desktop\example.jar" "c:\users\me\desktop\my folder\text.txt"
Comments
Post a Comment