A
A
anexgiga2016-10-07 15:31:46
Windows
anexgiga, 2016-10-07 15:31:46

How to rename 10 million files in one folder win 7 64?

It is necessary to rename files like afyf.jpg fyva.jpg into files like 1.jpg 2.jpg 3.jpg
Total is dying. Software rummaged through the public as many files as you need to rename.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Peter, 2016-10-07
@petermzg

PowerShell

Get-ChildItem | rename-item -NewName { "house chores-" + $_.Name }

A
alex_ak1, 2016-10-07
@alex_ak1

.vbs file:

i = 1
set FSO = CreateObject( "Scripting.FileSystemObject" )
for each f in FSO.GetFolder( "." ).Files
  ext = Mid (f, InStrRev(f,".") + 1)
  fso.MoveFile f, cint(i) & "." & ext 
  i = i + 1
next

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question