From: Earnie B. <ea...@us...> - 2006-09-11 23:21:52
|
Quoting Keith MARSHALL <kei...@to...>: > Earnie Boyd wrote, quoting Sysiphus: >>> Is there some utility that will enable the running of an >>> MSYS-built shell script (!# bin/sh) in the cmd.exe shell ? >> >> From cmd.exe just do ``c:/msys/1.0/bin/sh foo.sh''. > >> From cmd.exe, that would need to be `c:\msys\1.0\bin\sh foo.sh'. > While Windows itself has no problem recognising path names with > forward slashes, cmd.exe is just too dumb -- it parses forward > slash as a delimiter, expecting it to be followed by an option; > Earnie's example would try to invoke `c:' as a command, with > options `/msys', `/1.0', etc., which of course would fail. > Are you really sure about this? <sample> Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. H:\>c: C:\>/opt/mingw/bin/sh sh-3.1$ </sample> Earnie Boyd http://shop.siebunlimited.com |