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 41,106 of 42,547    |
|    foxidrive to Todd Vargo    |
|    Re: batch to put files in to folder of s    |
|    25 Apr 15 13:54:11    |
      From: foxidrive@server.invalid              On 25/04/2015 06:18, Todd Vargo wrote:       > On 4/24/2015 1:32 PM, Axel Berger wrote:       >> Todd Vargo wrote:       >>> REN tempdir "%%f"       >>       >> This will make the file's extension part of the folder name. If that's       >> what's wanted, fine, but I doubt it is. So you'd need to extract the       >> name part from %%f. Unfortunately I only know how to do this in 4DOS:       >>       >> %@NAME[%f]       >>       >> Axel       >>       >       > OP stated "move each file in to a folder of the same name" so I wont be       > loosing any sleep over it.       >              Yes, it's a poorly phrased question with no examples.              Axel is probably right - it's a common question - but Todd wrote what the       bloke asked for, and which is what I often do these days too.              --- 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