General Description: When running a command in XPS, I receive an error where the slashes are removed from my project path, similar to below: Project Opened. Command bash -c "cd \\Machine\xxx\xxx\xxx\xxx\Mysharename\myproject\; make -f system.make libs; exit;" Started... bash: cd: mymachinexxxxxxxxxxxxmysharenamemyproject;: No such file or directory Done.
How do I fix this error?
This is caused by virtue of having a share that is deep inside a filesystem directory or by mixing character case in network paths. In this case, the share was \\Mymachine\xxx\xxx\xxx\xxx\Mysharename, with a directory of myproject. Changing the exported share to \\mymachine\xxx\myshare and the directory to xxx\xxx\xxx\xxx\myproject by reducing the all letters to lower case and reducing the depth of the share should work around this issue. Moving the project to a local share will also avoid this issue.