3. Startup.bat - adolan5/myCMD GitHub Wiki

Configuring your startup.bat

startup.bat is the script that is invoked by myCMD on startup. Think of it as the .bashrc of myCMD, where you can put custom aliases, variables, and the like.

  • Be sure to realize that myCMD works by reading in your startup.bat, so make sure that what it reads is reasonably safe.
  • Also be sure to realize that I take no responsibility for modifications you make to your startup.bat, or any other script in this repository.
  • In startup.bat, directories that are assigned to variables should never be in quotes!

What's in the box

startup.bat currently has the default installation locations for notepad++ and Gimp 2.8 set. These variables are used by the npp.bat and gimp.bat scripts in launching their respective programs. If you don't use these programs, feel free to delete one or both of the scripts and remove the variables from your startup.bat.

Aliases

Aliases for commands are generally of the form:
doskey myalias=othercommand
and aliases for launching programs are generally of the form:
doskey myalias=Path\to\program.exe
Note about aliased commands/programs: Command options/arguments do not work with aliases. For example, ls .. will not display the contents of the directory one level up.