ADB on Windows: output to text file?


I wonder how to output the text from adb on Windows to a textfile. I tried:
adb list packages > test.txt //gives the error: Read-only file system

when I enter a path that exists and has user write access, I get the same error, like:
adb list packages > c:\\temp\\test.txt //it won't take single backslashes at all

What is the correct way to redirect the output of adb to a text file?

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by ngrady
1 hour ago
Last post by monroe50
1 hour ago
Last post by oquitzon
3 hours ago
Last post by shanon13
1 hour ago
Last post by cordelia.schuster
3 hours ago