create folders RRS feed

  • General discussion

  • Hello colleagues, to see if I explain so that you understand me and tell me how to do it.

    I want to test the AV because it is giving problems when analyzing files, and I want to create 100 root folders with 20 folders of second level until reaching the 5 level with 60 folders. In all of them I need to create at least 30 random files with an approximate size of 200 Kb.

    Can you give me ideas please?
    • Changed type Bill_Stewart Tuesday, December 11, 2018 9:17 PM
    • Moved by Bill_Stewart Tuesday, December 11, 2018 9:17 PM Help vampire
    Tuesday, July 24, 2018 5:59 PM

All replies

  • We can give you ideas of possible search terms, but we don't have the resources to produce code for you.

    Example search terms:

    powershell create folders

    powershell generate random string

    -- Bill Stewart [Bill_Stewart]

    Tuesday, July 24, 2018 6:06 PM
  • Thank you. I do not want you to believe me code. I just wanted ideas.
    I review what you have told me
    Tuesday, July 24, 2018 6:10 PM
  • f=0

    do while f<=100

    make folder test%F%


    nest do while ff<= 20 make folder test%F%/test%ff%

    continue nesting until path down=5

    ram dump into file + count



    Tuesday, July 24, 2018 6:14 PM