Open command window here: Difference between revisions

Jump to navigation Jump to search
m
Line 27: Line 27:
== Cygwin window ⇋ File Explorer (OS: {{Win}}) ==
== Cygwin window ⇋ File Explorer (OS: {{Win}}) ==
=== Open a Cygwin window from the current File Explorer directory ===
=== Open a Cygwin window from the current File Explorer directory ===
[https://www.cygwin.com/ Cygwin]
Steps for [https://www.cygwin.com/ Cygwin]
* (1) Go to your "Send To" folder: {{kbd | key=<nowiki>C:\Users\<your_user_name>\AppData\Roaming\Microsoft\Windows\SendTo</nowiki>}} (2) Create a shortcut having this in the Target field: {{kbd | key=<nowiki>C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico  C:\cygwin64\bin\bash.exe  -l -c "cd \"$0\" ; exec bash"</nowiki>}}<ref>[https://stackoverflow.com/questions/9637601/open-cygwin-at-a-specific-folder windows - Open Cygwin at a specific folder - Stack Overflow]</ref> {{exclaim}} Known issue: If the folder name contains Chinese characters will met problem!
# Go to your "Send To" folder: {{kbd | key=<nowiki>C:\Users\<your_user_name>\AppData\Roaming\Microsoft\Windows\SendTo</nowiki>}}  
# Create a shortcut having this in the Target field: {{kbd | key=<nowiki>C:\cygwin64\bin\mintty.exe -i /Cygwin-Terminal.ico  C:\cygwin64\bin\bash.exe  -l -c "cd \"$0\" ; exec bash"</nowiki>}}<ref>[https://stackoverflow.com/questions/9637601/open-cygwin-at-a-specific-folder windows - Open Cygwin at a specific folder - Stack Overflow]</ref> {{exclaim}} Known issue: If the folder name contains Chinese characters will met problem!


=== Open a File Explorer from the current Cygwin directory ===
=== Open a File Explorer from the current Cygwin directory ===

Navigation menu