1
Good morning guys, I’m trying to create a system that when I type a name in a textfield it would create a folder with this name and add the file inside the folder.
The part of adding the file is correct, I need to know how to do to create the folder.
I am very layman in programming yet, I will send a line as an example:
File.WriteAllText(System.IO.Path.Combine(projectPath,@"novapasta.Domain\Entities\" + varPath + "\\" + entityName + ".cs"), Template);
the path would be in txtPath
What language? What kind of application? What question are you having?
– user28595
It’s C# and my question is how do I get the system to "create" this folder, which I would type in the textfield Path (which I’ve already turned into a variable). But I have no idea how I would do that.
– Bruno Mendes
It would be interesting then you edit the question, add the language tag and this additional information, the question is confused as it was posted;.
– user28595
ok, first time I used it here. Thanks
– Bruno Mendes