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,889 of 42,547    |
|    Herbert Kleebauer to Arlen Holder    |
|    Re: Batch file to uniquely nmame & rando    |
|    15 Sep 20 18:51:28    |
      XPost: alt.comp.os.windows-10, rec.photo.digital       From: klee@unibwm.de              On 15.09.2020 03:23, Arlen Holder wrote:               > SET NewName=!RANDOM!-!RANDOM!-!RANDOM!!Use!        > ECHO %%A/!NewName!>> %TranslationFile%        > RENAME "%%A" "!NewName!"              Just because you use %random% 3 times doesn't make it impossible to get       the same name twice. Hopefully you never write SW where live depends on.                     > I use it when I take a bunch of screenshots over long periods of time, and       > edit them one by one, as needed, where the names aren't in the order of the       > screenshots anyway, and there are too many to rename manually, so I rename       > them randomly - which makes each one distinct.              This is much easier done with the GUI using explorer. Select all files       you want to rename and click "rename". If you display the files ordered       by date, then also the filenames have this order.              --- 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