ayugioh2003 / today-i-learned

記錄每天看到的資訊(暫以前端技術為主)
7 stars 0 forks source link

Windows Terminal: Open terminal in current folder via single command #189

Open ayugioh2003 opened 4 years ago

ayugioh2003 commented 4 years ago

網址

記錄原因

想讓 windows terminal 從資料夾視窗輸入列輸入時,能直接帶入當前資料夾路徑。

觀念

目前這個方式對我有效 For me setting "startingDirectory": "." does the job.

學習點

相關資料

AndeYashwanth commented 4 years ago

"startingDirectory": "." works but when I open terminal from search it defaults to system32. Is there any way to open in the user directory when the path is not specified?

ayugioh2003 commented 4 years ago

@AndeYashwanth I have the same issue about this …

Now I use Autohotkey to open terminal at specified path ex: F8:: Run, wt.exe, d:/users/user/desktop, , max (user is your desktop/laptop name)

Then, I can Press F8, and terminal will open at d:/users/user/desktop

ayugioh2003 commented 4 years ago

other