In the variable x
I will enter the folder name. Further, the program in a certain place, for example, in folder 3 ( C:\папка1\папка2\папка3
) should create a folder with the name I entered.
For example, it is not clear to me how to "associate" a variable with the MkDir
function and where to write the path C:\папка1\папка2\папка3
?
What in this code to add and / or change?
var x : string; begin Writeln('название папки?'); Readln(x); MkDir() end.