Cygwin.bat ______________________________________________________________ REGEDIT4 @echo off if "%1"=="" goto login
bash -c "$( cygpath -u "%1" )" goto fim :login C: chdir C:\cygwin\bin bash --login -i :fim cygwin.reg ______________________________________________________________ REGEDIT4 [HKEY_LOCAL_MACHINE\Software\CLASSES\.sh] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.ssh] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.tcsh] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.zsh] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.awk] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.sed] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.csh] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.ksh] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\.pl] @="sh_auto_file" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file] @="Shell Script" "EditFlags"=hex:d0,04,00,00 [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell] @="" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\open] @="" "EditFlags"=hex:00,00,00,00 [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\open\command] @=C:\\cygwin\\cygwin.bat\" \"%1\" %*" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\print] @="" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\print\command] @="C:\\WINDOWS\\NOTEPAD.EXE /p %1" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\edit] @="&Editar" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\edit\command] @="C:\\WINDOWS\\NOTEPAD.EXE %1" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\Convert] "EditFlags"=hex:01,00,00,00 [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\shell\Convert\command] @="\"C:\\cygwin\\bin\\conv.exe\" \"-A\" \"%1\"" [HKEY_LOCAL_MACHINE\Software\CLASSES\sh_auto_file\DefaultIcon] @="C:\\cygwin\\usr\\X11R6\\bin\\run.exe,0" -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/