help-emacs-windows
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [h-e-w] sending filenames from command-line


From: David Vanderschel
Subject: Re: [h-e-w] sending filenames from command-line
Date: 06 Jun 2006 17:23:59 -0500

On Tuesday, June 06, <address@hidden> 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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]