You need a script that creates a valid folder 1 and places 8 folders in it: the name must be random and one file, then it will also copy the file to each one, and four levels must be done this way. Here's an example of how it should work out (just a directory = randomly named)

Каталог1 Каталог index.html Каталог index.html Каталог index.html Каталог index.html Каталог Каталог Каталог Каталог Каталог Каталог Каталог index.html 

Now used:

 ` @Echo Off Set PassLenght=16 set var=0 set var1=4 SetLocal EnableDelayedExpansion EnableExtensions Set TotalChars=65 Set CharSet=QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm0123456789 :Loop Set /A Rnd=%TotalChars%*%Random%/32768 Set Pswd=!CharSet:~%Rnd%,1!%Pswd% Set /A PassLenght-=1 If %PassLenght% GTR 0 GoTo Loop mkdir %pswd% copy index.html %pswd% cd %pswd% set /a var=%var%+1 IF %var%==%var1% goto end goto loop :end pause ` 

and creates the following hierarchy:

 │ └───Yg4JZGTPqnNgJ ----│---index.html ----│ ----└───CYg4JZGTPqnNgJ --------│---index.html --------│ --------└───5CYg4JZGTPqnNgJ ------------│---index.html ------------│ ------------└───w5CYg4JZGTPqnNgJ --------------------index.html 

Mandatory condition of each directory: you need to place the index.html file in each directory (There are four folders in each directory, another four, three third folders ...

Script on cmd OPTIONAL, you can on PowerShell

  • What's the problem? - Alex Yu
  • for example, I cannot understand how this can be organized - sasha0552 February
  • Is there any code of any kind? - Alex Yu
  • There is hastebin.com/onavubuyum.sql (Makes 4 folders with a random name and copies index.html to each one, but you also need to create folders by folder and so on) - sasha0552
  • Clarifications: a) cmd is a prerequisite or, say, powershell is also OK? b) What version of Windows / DOS / FreeDOS? - Alex Yu

0