OER-WEB-TEAM / design-system--drupal-theme

1 stars 0 forks source link

One-click setup .bat script fails if run remotely #42

Closed AlexVanK closed 5 months ago

AlexVanK commented 5 months ago

Running a .bat file on a remote location does not support relative paths, and will fail with the following error:

image

Find a way to improve the script

AlexVanK commented 5 months ago

Script patched to allow for remote execution.

All it has to do is mount the remote path on a temporary drive letter. Then unmount it at the end of execution.

More info, @see: https://stackoverflow.com/questions/9013941/how-to-run-batch-file-from-network-share-without-unc-path-are-not-supported-me#answer-34182234