Article View: comp.os.msdos.misc
Article #3632Re: remove extension from batch file parameter - results
From: kraai4712
Date: Fri, 08 Jan 1993 14:56
Date: Fri, 08 Jan 1993 14:56
18 lines
1190 bytes
1190 bytes
Steve, In article <1993Jan7.001628.19426@trl.oz.au>, smadden@titan.trl.OZ.AU (Steve Madden) writes: > I'm wondering if any of the real DOS experts out there knows > how to solve the following problem. I have a filename complete with > extension passed into a batch file as a replaceable parameter. I need to > remove the extension from this, and put it in an environment variable. > Does anyone know if this is possible under vanilla DOS ?? If so, how do > you do it ?? > > > Well, the answer seems to be that it may not be possible with vanilla > DOS. I received a number of suggestions, all of which used shareware/PD > solutions. These were: I sent you a plain-vanilla DOS solution, check your mail again. --jim
Technical Details
Message-ID:
<1993Jan8.085653.9701@iscsvax.uni.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.iastate.edu!iscsvax.uni.edu!kraai4712References:
<1993Jan7.001628.19426@trl.oz.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.iastate.edu!iscsvax.uni.edu!kraai4712 From: kraai4712@iscsvax.uni.edu Newsgroups: comp.os.msdos.misc Subject: Re: remove extension from batch file parameter - results Message-ID: <1993Jan8.085653.9701@iscsvax.uni.edu> Date: 8 Jan 93 08:56:53 -0600 References: <1993Jan7.001628.19426@trl.oz.au> Organization: University of Northern Iowa Lines: 18