vendredi 10 avril 2015

Redirecting contents of a file to a variable in command prompt

I have a file "file.txt" which contains the output of "dir /s /b *.c"


I want to write this whole content of file.txt in a single variable .


Any ideas?


Aucun commentaire:

Enregistrer un commentaire