Page 1 of 1

Write something down in a .txt

Posted: 09 Oct 2011 00:41
by f1s1ck
Hello,

I want to let my .bat script put down some text in results.txt
Can anybody help me?

Re: Write something down in a .txt

Posted: 09 Oct 2011 01:18
by !k

Code: Select all

[command] >> [file]

use >> for add
and > for rewrite

Code: Select all

[command] > [file]

Re: Write something down in a .txt

Posted: 09 Oct 2011 02:39
by f1s1ck
It creates a .txt file now,
Now i want to let the program write text in it.