How to open the Windows Terminal (Preview) in File Explorer

You can try this command in the folder path:

wt -d .

source

EDIT: Microsoft mentions the previous command in one of their videos alongside with many interesting features of Windows Terminal 1.0


To fix this:

  • Open Windows Terminal
  • Click the down arrow in the toolbar to get the menu and select "Settings"
  • Update your profiles.json defaults so that all shells starting directory is the current directory

    "profiles": {
        "defaults": {
           // Put settings here that you want to apply to all profiles
           "startingDirectory": "."
        }...
    

From at least v0.9.433.0 on Windows 10 onwards the default value for "startingDirectory" in defaults.json on my machine is "%USERPROFILE%", which means typing "wt" in an explorer window opens in your home directory, not the current folder.


Simply type in wt in the address bar and it will open the command prompt with the path to your current folder already set. Make sure that your settings do not overwrite startingDirectory.

enter image description here