@echo ======================================================= @echo This file starts PC-GSAS @echo = Run this from the directory where GSAS is installed = @echo ======================================================= @ @REM Get this script's directory; make sure that the path ends @REM with a single backslash @set gsasloc=%~dp0\* @set gsasloc=%gsasloc:\\*=\*% @set gsasloc=%gsasloc:\*=\% @ "%gsasloc%exe\pc-gsas.exe" %1