[EMAIL PROTECTED] writes:

> 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.

I have a similar problem where I want to use Emacs' ediff as the
"External Diff Tool" in an application I use. The solution was to
create a wrapper cmd file that converts \ to /.

The technique I used is to use the SET command. Test the following
code in a .cmd file:

--- conv.cmd ---
@echo off
set filename=%*
echo old = %filename%
set filename=%filename:\=/%
echo new = %filename%
---

c:\> conv test\of\ backslashes\ \

old = test\of\ backslashes\ \
new = test/of/ backslashes/ /

If you are prepared to use a wrapper script like this, your problems
are solved. :)



Reply via email to