Paste a Windows file path and get the ready-to-run Ubuntu cd command for WSL. Handles spaces, parentheses, and any drive letter.
Paste directly from File Explorer — e.g. C:\Users\tyler\Documents\Project
C:\Users\tyler\Documentz\DEV STUFF
cd /mnt/c/Users/tyler/Documentz/DEV\ STUFF
/mnt/[letter]/. Backslashes become forward slashes.
Spaces and parentheses are escaped with \ so the shell doesn't misread them.
Output is a complete cd command — paste and run.