Re: can not run shell under Windows ME

Adrian Aichner <[email protected]>
Newsgroups gmane.emacs.xemacs.windows
Organization The XEmacs Project
Message-ID <[email protected]>
>>>>> "liang" == liang zhu <[email protected]> writes:

    liang> Hi,

    liang> I just installed the latest stable Xemacs (v 21.4.11) under
    liang> my Windows ME desktop.  While I try to use the Shell under
    liang> the "Tools/Shell" menu, I got "specified COMMAND search
    liang> path invalid" error message, and the shell could not run.
    liang> I have no idea where is Xemacs looking for the COMMAND
    liang> search path.  How I can fix it?  Liang Zhu

Hi liang!

What are your values for these:

 * explicit-shell-file-name       - If non-nil, is file name to use for explicitly requested inferior shell.
 * shell-file-name                - File name to load inferior shells from.
   shell-command-switch           - Switch used to have the shell execute its command line argument.

I get following values under Windows 2000 when I press
C-u (universal-argument)
C-x C-e (eval-last-sexp)
after each symbol:

explicit-shell-file-name
"c:\\winnt\\system32\\cmd.exe"
shell-file-name
"cmd.exe"
shell-command-switch
"/e:4096 /c"

Perhaps you could start with
(setq explicit-shell-file-name "c:\\winnt\\system32\\command.exe")
(setq shell-file-name "command.exe")
and
(setq shell-command-switch "/c")

Hope this helps,

Adrian

-- 
Adrian Aichner
 mailto:[email protected]
 http://www.xemacs.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.