Set CMD Start Folder
Posted: 01 Jul 2023 19:52
For command line ops, how I can I set a start folder in the syntax? Thank you.
Forum for XYplorer Users and Developers
https://www.xyplorer.com/xyfc/
cmd
with CD
, e.g.:
Code: Select all
text runret("""cmd"" /c CD ""D:\Tools\XYplorer\Data\Scripts"" & ""D:\Tools\@Command Line Tools\git_x64\mingw64\bin\git.exe"" status");
"D:\Tools\@Command Line Tools\git_x64\mingw64\bin\git.exe" status
you'd get a failure message (because there isn't a git repo in D:\Tools\@Command Line Tools\git_x64\mingw64\bin