[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: windows, elisp function to call batch file, shell-command, Whitaker'
From: |
Hugh Lawson |
Subject: |
Re: windows, elisp function to call batch file, shell-command, Whitaker's words--solved |
Date: |
Fri, 2 Dec 2016 07:03:11 -0800 (PST) |
User-agent: |
G2/1.0 |
On Friday, December 2, 2016 at 8:49:19 AM UTC-5, Hugh Lawson wrote:
> The problem is that William Whitaker's Words program returns an error when I
> try to call it with this setup, in Windows 10. I have a Latin text in a
> buffer. I put the cursor on a Latin word, and strike F12. The elisp function
> calls the latin.bat bath file, which calls the words latin dictionary
> program. I think something is wrong either with my elisp function or my
> batch file.
[snip ]
> Here is the batch file, latin.bat
>
> cd c:\WORDS
> words
I found the problem in my batch file, which I revised as follows:
@Echo off
cd c:\WORDS
words.exe %1