On Tuesday, June 06, <[EMAIL PROTECTED]> wrote: >I'm trying to write a DOSKEY macro such that from a CMD.EXE window I can >say: > C:\>dired path >and the macro will invoke gnudoit (or gnuclientw with the -e option) to >get Emacs to >load dired on the specified path.
Does the solution have to be a DOSKEY macro, and does it have to use gnudoit? I find that a straight gnuclientw invocation on the path produces a dired listing. If you want the command to be "dired" instead of gnuclientw, a solution which works for me with no hassle is to define a batch file, dired.bat, containing the single line: d:\emacs\emacs-20.7\bin\gnuclientw.exe -F "%1 %2 %3 %4" Backslashes are no problem. Spaces in the path are a little problem - addressed with the multiple %n's for the quoted argument to gnuclientw. Add more if you need them. (I need my full path to emacs's bin directory, since it is not actually in my path environment variable.) Things do get fouled up if you put quotes around the path on the command line. Regards, David V.
