Tuesday, 20 August 2019

windows - Batch to rename unknown folder name to particular name

I have a folder named Results


inside that results folder a sub folder called Result*****


"*" = some random numbers


i donno what will be those random number its keep changing and random..


i want to rename that sub folder from Result**** to marks or anything particular name.


i tried,


ren "Result*" "marks"

it doesn't works. say no such directory found. Am stuck here donno how to rename that random ending unknown folder to a particular name.

No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...