On Thu, 12 Sep 2002, Kai Großjohann wrote: > I don't use Windows myself, but I think that some versions of Windows > use command.com as interpreter for commands and others use cmd.exe. > Is this true? > > If it is true, how would a Lisp package know which one to use? > shell-file-name? system-type? Do not know exactly but IMHO all modern Windows system use cmd.exe and only old completely DOS-based 16 bit windows systems like Windows 3.11 use command.com...but i'm not sure.... Please correct me! But it should not matter because i would recommend to check the environment-variable COMSPEC (which is set always be every windows system!), maybe like follows: If you need the command interpreter of windows with full path do: ,---- | (expand-file-name (getenv "COMSPEC")) `---- If you only want the name of the interpreter do: ,---- | (file-name-nondirectory (expand-file-name (getenv "COMSPEC"))) `---- Ciao, Klaus