

VBS = Act.ExpandEnvironmentStrings("%Systemdrive%\Rename_FolderContents_v1.vbs") Set Fso = CreateObject("Scripting.FileSystemObject") Set Act = CreateObject("Wscript.Shell") : Set oShell = CreateObject("Shell.Application") Edited Maby BlubĬonst MY_COMPUTER = &H11&,WINDOW_HANDLE = 0, OPTIONS = 0 : strComputer = "."ĭim Act, Fso, RenamF, oShell,Folder, FolderItem, VBSĭim strErrResuts, TheFile, OldName, ReNameFile, CT : CT = 0

Any is ok as long you know what the order is and it stays like that.

This is how I understood your procedure to be?ĭidn't look at VBS script but presumably either can be made to do the trick under the condition the source files are in some order. Run the script for the reverse order adjusting start and step -2. I believe the best chance to have it run properly is to scan starting 1 to x uneven in one directory and then x+1 to 2 in reverse order in another. But yes, a program would be better yes, much better. If the source is in random order/has random names, I don't see how it could be done without someone telling which order to use anyway (but usually there is always a way if you try hard enough). This exclude list could be extended to ignore anything present you don't want processed. Also it excludes certain files (here the newly created files, which means you cannot use the same basic file name or it wouldn't do anything. But it can be modified to use any pattern. To clarify, the script looks for a file pattern (I used txt in the example here because I made a few files with.
#BATCH FILE RENAME MATTHEW HART MANUAL#
By the way, I don't use RunOnceEx anymore, but even for that one I still did manual editing in the end as of course a program is also best for this. Yes this did occur to me, but since the pages *should* be created in order and numbered incrementally, the batch file *might* just do the trick.Īnyway, it's basically part of my batch file that creates the bulk content of RunOnceEx entries for uA install.
