Timeline for answer to File/folder chooser dialog from a Windows batch script by Aacini
Current License: CC BY-SA 3.0
Post Revisions
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 10, 2021 at 20:30 | comment | added | Felicity |
or this if "%~1" neq "" if exist "%~1\*" (cd "%~1") to check and make sure that path exists before you cd it
|
|
| Dec 10, 2021 at 20:24 | comment | added | Felicity |
To change directory, just add cd statement somewhere in the beginning of this file. You can pass an variable to this bat file that contains a path. And then in the beginning of this bat file, add an if else statement like: if "%~1" neq "" cd "%~1"
|
|
| Jul 4, 2020 at 5:30 | comment | added | aerodavo | can this be adjusted to allow navigating to external hard drives? | |
| Jan 28, 2015 at 3:30 | history | answered | Aacini | CC BY-SA 3.0 |