SD error (hijack)

SixtoD:
just wanted to save all output to temp.txt, then i will delete the test.txt and rename the temp.txt to test..txt

I don't see like you were doing such thing.