I need to generate a lot of junk files, with a random directory structure and random contents (and file names) under a specific folder (like "C:\tmp\"), is there a program that can do that for me?
|
|
I don't know of any program off the top of my head but perhaps a vbscript making use of the windows command
Usage of fsutil can be found in the Microsoft Documentation (it's for XP but works in Vista/7) You'll have to do some work to build the directory structure but that will help with the files. There might be some testing tool out there that will automatically generate a folder/file structure but I doubt there's much need for it outside of QA/Testing. |
|||||
|
|
I have used "Dummy File Creator" for this, it can make 000 files or randomised mess files http://sumtips.com/2011/02/5-ways-to-create-dummy-files.html a simple text "batch" could be made like this,And fed to the program
I do not think it will create directories. It could fill up a disk faster than copying from another disk. I do not use it that much because copying from another disk some big files, also allowed for doing a compare. |
||||
|
|