how to number files sequentially in file explorer (based on creation date)

A

Applesauceuwi

Hey I'm not very good at powershell so I was wondering if someone who is could help me. I found this answer on another thread on how to number files sequentially in file explorer and I need it modified but I don't really understand it.[ref]$i = 1; gci -file | Rename-Item -NewName {'{0} - {1}' -f $i.Value++, $_}This will number each file sequentially based on the filename A-Z. I need the files sequentially numbered based on creation date. Specifically 1 (or zero) being dedicated to the oldest file and the highest number going to the newest file.

Continue reading...
 
Back
Top Bottom