I blog about debugging, development using .net, C#, SQL, and other Microsoft technologies.
Disclaimer: All posts are provided "AS IS" with no warranties, confering no rights, and expressing only my personal opinion, not Microsoft's.
To list files that are not checked out and not read-only, you can use tfpt online. The command is used to create pending edits on non-read-only files that don't have pending edits. The tool also classifies the items into sets: items with potential add and items with potential edit.