I need help with a Folderspammer plis

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Matty2064
Posts: 1
Joined: 27 Aug 2018 07:19

I need help with a Folderspammer plis

#1 Post by Matty2064 » 27 Aug 2018 07:29

So i made a little batch script that asks for a Word= a Number= and a Random or Growing Format= for example
word=Awesome
number=78
format=growing

it would create 78 folders in growing format [Awesome1,Awesome2,Awesome3,Awesome4,Awesome5,Awesome6,Awesome7... Awesome78]

so i need help with making a function that stores all names for created folders in a txt file, THEN if the user wants he can choose the function Delete=True or False
and then all created folders will be deleted without deleting other files by accident and not destroying the users pc xD

i want the foldernames to export example:
Awesome1
Awesome2
Awesome3...
Awesome78

and then i want the batch file to read every single line and delete the file with that name!

please help xD

Post Reply