Path: utzoo!utgpu!attcan!uunet!mcvax!unido!rmi!wsiebeck From: wsiebeck@rmi.UUCP (Wolfgang Siebeck) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: WILDCARD Keywords: wildcard Message-ID: <1151@rmi.UUCP> Date: 30 Jul 88 09:53:40 GMT References: <11675@steinmetz.ge.com> Reply-To: wsiebeck@rmi.UUCP (Wolfgang Siebeck) Organization: RMI Net, Aachen, W.Germany Lines: 17 In article <11675@steinmetz.ge.com> davidsen@crdos1.UUCP (bill davidsen) writes: : : for %n in (*.c) do beautify %n : Hi! You will get a problem, if Your 'beautify' creates .BAK-Files. I guess DOS does the following: - Look up first matching filename - Pass it to beautify - beautify renames input to *.BAK, and creates a new file *.C, which is positioned at the end of the directory. - DOS looks up the next matching name ... I tried "for %i in (*.txt) do ws %i", and after editing one of the files for the third time, I had to use ctrl-alt-del .... So: there is a need for a 'real' wildcarder ... -ws