Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.msdos.batch    |    Fun with MS-DOS batch files    |    42,547 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 40,834 of 42,547    |
|    Harry Potter to All    |
|    Re: Parsing path in batch file?    |
|    12 Dec 13 07:30:06    |
      From: rose.joseph12@yahoo.com              Sorry: pressed the wrong button! :(              I want to write some batch files on a Win98 computer (and perhaps a DOS       laptop) and need to parse a path passed to it via a parameter. For example, I       want to compress files to .gz format and delete the original or compress .ADF       files to .ADZ format. To        do this, I need to parse the parameter and, for example, change the       extension. WinNT has special functionality to handle this, so it's either       create a separate program to capture the needed data into an environment       variable or write a code file to do        the task. The former will probably blow on my computer because, when I added       an environment variable in Windows mode, the batch file running returns an out       of environmnt space error. The latter is too time-consuming to be worth it.        Any other        suggestions?              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca