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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -