What is the proper way to quote a variable in a batch file?
I've found that something like "%~dp0" doesn't work because it turns out to be something like "C:\Windows\", which in turn gets interpreted as having an escaped quote at the end.
Oh and of course there's always problems with embedded quotes -- any way to escape those too?
 
     
     
    