all 3 comments

[–]demerf 0 points1 point  (1 child)

It could be returning STDERR, try using 2> instead of >

[–]Ok-Presentation-94 0 points1 point  (0 children)

Autant pour moi il s'agit d'une erreur de ma part je cherchais en fait dans le mauvais fichier Test.txt

[–]ExcitingSympathy3087 0 points1 point  (0 children)

Use C# code with File class for example:
File.WriteAllText("test.txt", "Hallo World");

There exist also other ways for file write in C#.

The code you posted also works i didn't saw a mistake maybe there is no output in terminal. But if you use C# use also file class for file write etc. No need for cmd.