I have a batch file that runs from a network share....as long as the network share path doesn't have a space then the %~d0%~p0 function works beautifully.
Network path example Example:
But if the paths has a space, then the function doesn't work:
Network path example 2:
If I wrap the %~d0%~p0 in quotes like so - "%~d0%~p0" then it see the path, but I have a start /wait command before the exe and it's screws that up and the exe doesn't run it just opens up a second command window.
Start /wait "%~d0%~p0"
It will run without the start /wait but I need to have that to run other things in the batch file after the exe finishes.... can any one help?