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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -