Skip to content

Instantly share code, notes, and snippets.

@Mohammad-Reihani
Created April 16, 2025 21:12
Show Gist options
  • Save Mohammad-Reihani/ec330ef9f5a7d6c91f10ad7781f7c3dd to your computer and use it in GitHub Desktop.
Save Mohammad-Reihani/ec330ef9f5a7d6c91f10ad7781f7c3dd to your computer and use it in GitHub Desktop.
ODIX
@echo off
code "%cd%"
@Mohammad-Reihani
Copy link
Author

Mohammad-Reihani commented Apr 16, 2025

Open Direcotry InX (ODIX)

ever wanted to open current directory in VSCode from windows file explorer with minimal keyboard types? well listen up.
If configured correctly, this opens current directory in VSCode.

How to install?

create a folder in somewhere safe (you won't touch), the add it to PATH (Users or Systems). then use this app to convert your .bat file into .exe and put it in there. TADA, you can run it from file explores address bar, just type the name of your .exe, mine just opens the current directory in vscode!

@parsaM110
Copy link

you can use code.cmd . but this is really better

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment