Last active
August 18, 2016 21:32
-
-
Save JohannesHoppe/9bd50838bdcc81d890ce09c316082092 to your computer and use it in GitHub Desktop.
for cmder | Console Emulator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: cmder | Console Emulator | |
:: use this file to run your own startup commands | |
:: use @ in front of the command to prevent printing the command | |
:: @call "C:\Program Files\Git/cmd/start-ssh-agent.cmd | |
:: @set PATH=%CMDER_ROOT%\vendor\whatever;%PATH% | |
@e: | |
@cd Angular2Buch | |
@net session >nul 2>&1 | |
@if %errorLevel% == 0 ( | |
echo Running with administrative permissions | |
) else ( | |
echo RUNNING WITHOUT ADMINISTRATIVE PERMISSIONS! | |
echo Add the following switch to the command: -new_console:a | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment