home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / msdos / misc / 6908 < prev    next >
Encoding:
Internet Message Format  |  1993-01-08  |  1.1 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!hobbes.physics.uiowa.edu!news.iastate.edu!iscsvax.uni.edu!kraai4712
  2. From: kraai4712@iscsvax.uni.edu
  3. Newsgroups: comp.os.msdos.misc
  4. Subject: Re: remove extension from batch file parameter - results
  5. Message-ID: <1993Jan8.085653.9701@iscsvax.uni.edu>
  6. Date: 8 Jan 93 08:56:53 -0600
  7. References: <1993Jan7.001628.19426@trl.oz.au>
  8. Organization: University of Northern Iowa
  9. Lines: 18
  10.  
  11. Steve,
  12.  
  13. In article <1993Jan7.001628.19426@trl.oz.au>, smadden@titan.trl.OZ.AU (Steve Madden) writes:
  14. >       I'm wondering if any of the real DOS experts out there knows
  15. > how to solve the following problem. I have a filename complete with
  16. > extension passed into a batch file as a replaceable parameter. I need to
  17. > remove the extension from this, and put it in an environment variable.
  18. > Does anyone know if this is possible under vanilla DOS ?? If so, how do
  19. > you do it ?? 
  20. > Well, the answer seems to be that it may not be possible with vanilla
  21. > DOS. I received a number of suggestions, all of which used shareware/PD
  22. > solutions. These were:
  23.  
  24. I sent you a plain-vanilla DOS solution, check your mail again.
  25.  
  26. --jim
  27.