Path: utzoo!attcan!uunet!lll-winken!ubvax!scott From: scott@ubvax.UB.Com (Scott Scheiman) Newsgroups: comp.sys.ibm.pc Subject: Re: '=' on command line to .BAT files Summary: I've got a patch to PC-DOS 3.10 COMMAND.COM for this Keywords: equal sign .BAT Message-ID: <7791@ubvax.UB.Com> Date: 17 May 88 00:39:58 GMT References: <300@fxgrp.UUCP> Organization: Ungermann-Bass Enterprises, Santa Clara, CA Lines: 24 In article <300@fxgrp.UUCP>, ljz@fxgrp.UUCP (Lloyd Zusman) writes: | Consider the following fragment of a .BAT file intended to run under | DOS3.3. Assume the file is called MAKEIT.BAT ... | ... | c:\bin\make %1 %2 %3 %4 %5 %6 %7 %8 %9 | | The problem arises when I want to invoke my .BAT file like this: | | MAKEIT SOMETHING=WHATEVER (note the equal sign) | | The equal sign screws things up, as DOS seems to treat it as an argument | separator.... Is there any hope of getting around | this problem with equal signs while using a .BAT file? Out of frustration I fugured out a simple patch to PC DOS 3.10 a long time ago, to solve this very problem. (Actually it wasn't so simple using DEBUG for the first time, without DOS listings!) I don't know if it is still applicable on newer versions of DOS (I still use 3.10 :-) ). But I'd be happy to share the details--if anyone's interested, send email. -- "Ribbit!" Scott Scheiman (408) 562-5572 Ungermann-Bass, Inc. ` /\/@\/@\/\ scott@ubvax.UB.com 2560 Mission College Blvd. _\ \ - / /_ ...uunet!ubvax!scott Santa Clara, CA 95050