Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. C:cygwin64binsh.exe --login –i
  2.  
  3. C:cygwin64binsh.exe -li "%1"
  4.  
  5. Windows Registry Editor Version 5.00
  6.  
  7. [HKEY_CLASSES_ROOT.sh]
  8. @="Shell Script"
  9.  
  10. [HKEY_CLASSES_ROOTShell Script]
  11. @="Shell Script"
  12.  
  13. [HKEY_CLASSES_ROOTShell ScriptDefaultIcon]
  14. @="%SystemRoot%\System32\imageres.dll,-68"
  15.  
  16. [HKEY_CLASSES_ROOTShell Scriptshell]
  17.  
  18. [HKEY_CLASSES_ROOTShell Scriptshellopen]
  19. @="Run with Cygwin"
  20.  
  21. [HKEY_CLASSES_ROOTShell Scriptshellopencommand]
  22. @=""C:\cygwin64\bin\mintty.exe" -i /Cygwin-Terminal.ico C:\cygwin64\bin\bash.exe -l -c "cd $(dirname \"$(cygpath -u \"%1\")\") ; $(cygpath -u \"%1\") ; exec bash""
  23.  
  24. @echo off
  25. C:cygwinbinbash.exe -lc "cd ""%cd%""; ""$(cygpath -u "%1")"""
  26.  
  27. @echo off
  28. set path=%path%;C:cygwinbin
  29. bash -c """$(cygpath -u "%1")"""
  30.  
  31. Windows Registry Editor Version 5.00
  32.  
  33. [HKEY_CLASSES_ROOT.sh]
  34. @="Shell Script"
  35.  
  36. [HKEY_CLASSES_ROOTShell Script]
  37. @="Shell Script"
  38.  
  39. [HKEY_CLASSES_ROOTShell ScriptDefaultIcon]
  40. @="%SystemRoot%\System32\imageres.dll,-68"
  41.  
  42. [HKEY_CLASSES_ROOTShell Scriptshell]
  43.  
  44. [HKEY_CLASSES_ROOTShell Scriptshellopen]
  45.  
  46. [HKEY_CLASSES_ROOTShell Scriptshellopencommand]
  47. @=""C:\cygwin64\bin\bash.exe" -lic "cd \"$(dirname \"$(cygpath -u \"%1\")\")\" ; ./$(basename \"$(cygpath -u \"%1\")\") %*""
  48.  
  49. [HKEY_CLASSES_ROOTShell Scriptshellrunas]
  50. "HasLUAShield"=""
  51.  
  52. [HKEY_CLASSES_ROOTShell Scriptshellrunascommand]
  53. @=""C:\cygwin64\bin\bash.exe" -lic "cd \"$(dirname \"$(cygpath -u \"%1\")\")\" ; ./$(basename \"$(cygpath -u \"%1\")\") %*""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement