Last active
March 28, 2016 15:13
-
-
Save Shade30/275496e7e332cad5fd7f to your computer and use it in GitHub Desktop.
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
@echo off | |
Setlocal EnableDelayedExpansion | |
set CYGDIR=D:\cygwin64 | |
set CYGBINDIR=%CYGDIR%\bin | |
set PATH=%PATH%;%CYGBINDIR%;%CYGDIR%\usr\local\bin;%CYGDIR%\usr\bin | |
cd /d %CYGDIR%\home\%USERNAME% | |
if [%1]==[] goto BLANK | |
set VAR= | |
for /f %%i in ('%CYGBINDIR%\cygpath.exe %*') do set VAR=!VAR! %%i | |
echo %VAR% | |
start /min %CYGBINDIR%\mintty.exe -i /bin/emacs.ico -w hide /bin/emacs %VAR% | |
goto DONE | |
:BLANK | |
start /min %CYGBINDIR%\mintty.exe -i /bin/emacs.ico -w hide /bin/emacs | |
goto DONE | |
:DONE |
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
@echo off | |
Setlocal EnableDelayedExpansion | |
set CYGDIR=D:\cygwin64 | |
set CYGBINDIR=%CYGDIR%\bin | |
set PATH=%PATH%;%CYGBINDIR%;%CYGDIR%\usr\local\bin;%CYGDIR%\usr\bin | |
cd /d %CYGDIR%\home\%USERNAME% | |
if [%1]==[] goto BLANK | |
set VAR= | |
for /f %%i in ('%CYGBINDIR%\cygpath.exe %*') do set VAR=!VAR! %%i | |
echo %VAR% | |
start /min %CYGBINDIR%\mintty.exe -i /bin/emacs.ico -w hide /bin/emacsclient -n -c %VAR% | |
goto DONE | |
:BLANK | |
rem start /min %CYGBINDIR%\mintty.exe -i /bin/emacs.ico -w hide /bin/emacsclient -n -c | |
goto DONE | |
:DONE |
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
@echo off | |
Setlocal EnableDelayedExpansion | |
set CYGDIR=D:\cygwin64 | |
set CYGBINDIR=%CYGDIR%\bin | |
set PATH=%PATH%;%CYGBINDIR%;%CYGDIR%\usr\local\bin;%CYGDIR%\usr\bin | |
cd /d %CYGDIR%\home\%USERNAME% | |
if [%1]==[] goto BLANK | |
set VAR= | |
for /f %%i in ('%CYGBINDIR%\cygpath.exe %*') do set VAR=!VAR! %%i | |
echo %VAR% | |
start /min %CYGBINDIR%\mintty.exe -i /bin/emacs.ico -w hide /bin/emacsclient -c %VAR% | |
goto DONE | |
:BLANK | |
rem start /min %CYGBINDIR%\mintty.exe -i /bin/emacs.ico -w hide /bin/emacsclient -c | |
goto DONE | |
:DONE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment