Open core-ai-bot opened 2 years ago
Comment by joelrbrandt
Wednesday Jan 02, 2013 at 21:22 GMT
http://stackoverflow.com/questions/4340350/how-to-check-if-a-file-exists-from-inside-a-batch-file
Comment by joelrbrandt
Thursday Jan 03, 2013 at 01:52 GMT
Confirming fixed and closing. Thanks@
gruehle
When a user first runs setup_for_hacking.bat on Windows, they receive confusing output. Assuming they do not already have a 'dev' symlink, they get a message that says "The system cannot find the file specified."
The offending code is:
Typical "correct" input/output is:
The fix is probably to check if
%1\dev
exists and only remove it if it does.