I found an example on msdn:
My.Computer.FileSystem.WriteAllText("C:\TestFolder1\test.txt", "This is new text to be added.", False) If instead of the full path specify "test.txt" - there is no error, the file is saved somewhere. The question is, what is the full path and is there a rule for forming the path when specifying only the file name?
C:\Users\user\Desktop\ConsoleApp\ConsoleApp\bin\Debug\ваш_файл- dmepty am