Skip to content

Instantly share code, notes, and snippets.

@zeph1e
Created July 7, 2015 15:27
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 zeph1e/c2fd53fb0b99dc9ccf05 to your computer and use it in GitHub Desktop.
Save zeph1e/c2fd53fb0b99dc9ccf05 to your computer and use it in GitHub Desktop.
' emx.vbs : starts a emacsclient with no command prompt
Dim emxCmd
Set WshShell = Createobject("WScript.Shell") Set Args =
WScript.Arguments emxCmd = """emacsclient"" ""-cqa"" ""emacs""" For
index = 0 To (Args.Count - 1) emxCmd = emxCmd & Chr(32) & Chr(34) &
Args(index) & Chr(34) Next WshShell.Run emxCmd, 0 Set WshShell =
Nothing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment