From: mh AT mike DOT franken DOT de (Michael Hirmke) Subject: Re: Asterisk expansion... 25 Jul 1998 01:35:46 -0700 Message-ID: <6yUrB-W4pfB.cygnus.gnu-win32@mike.franken.de> References: <7BEBE893ABDFD111AC3F00A0C96B159F5C4CD6 AT FMSMSX32> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Hi Robertson,, >Hi, > >There seems to be an inconsistency in how * is interpreted. When you >run, say, 'echo.exe' from the commandline you get the following: C:>> echo *.* > C:>> echo \*.\* >\*.\* > >So why does it expand the glob in the first instance, and not unescape >them in the second? And doesn't this mean it's impossible to echo the >string: >*.* >from cmd? You are assuming, that command.com / cmd.exe are using \ to escape characters, which isn't the case. At best DOS shells would assume, that you want to list all files in all directories, when you type \*.\* - because \ is the path separator! [...] >Thanks, >Jason Bye. Michael. -- Michael Hirmke | Telefon +49 (911) 557999 Georg-Strobel-Strasse 81 | FAX +49 (911) 557664 90489 Nuernberg | E-Mail mailto:mh AT mike DOT franken DOT de | WWW http://aquarius.franken.de/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".