Sinisterly
[Vb.Net] Need help... - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Visual Basic & .NET Framework (https://sinister.ly/Forum-Visual-Basic-NET-Framework)
+--- Thread: [Vb.Net] Need help... (/Thread-Vb-Net-Need-help)



[Vb.Net] Need help... - 1234hotmaster - 12-03-2010

hi guys i want to rename a MASSIVE amount of files which reach below 3k with VB but i don't know how XD

i want them to be like, first one will be 1.blabla second will be 2.balbala and so on....

can anyone make such? :'(

i can't rename 3k files :rip::'(



RE: [Vb.Net] Need help... - 1234hotmaster - 12-03-2010

random name? i don't know about name but number like this:

Randomize()
((Int(0 - 25) * Rnd()))




RE: [Vb.Net] Need help... - 1234hotmaster - 12-03-2010

oh ok tnx... but fixed anways Biggrin


RE: [Vb.Net] Need help... - kevininstructor - 01-02-2011

In regards to generating random file names check out my post on creaing temp files which includes logic to do this. Of course there are other ways, mine is simple one way to do this.

http://hackcommunity.com/showthread.php?tid=221


RE: [Vb.Net] Need help... - Coder-san - 01-02-2011

I think you need something like this I made in VB6:
RenameAll - Clean filenames in a Folder with a click

If names are same it renames like name(1).ext, name(2).ext, etc.

It's pretty easy, but more than that it's fun. Smile