Skip to content

Instantly share code, notes, and snippets.

@MichaelPaulukonis
Created September 12, 2014 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichaelPaulukonis/063907de9e1064b6f734 to your computer and use it in GitHub Desktop.
Save MichaelPaulukonis/063907de9e1064b6f734 to your computer and use it in GitHub Desktop.
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