Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Windows batchfile to open current directory in Emacs' dired
:: open current directory in dired
:: based on code from http://datko.net/2013/07/11/open-emacs-dired-buffer-from-dired/
:: save as "dired.bat" and save somewhere in PATH
:: run "dired" from command-line to open current directory in emacs w/ dired
emacsclient -e "(dired \"\")"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.