I managed to get in to an XP virtual machine with metasploit and got system level privs with a bind shell back to BT5.

How do I edit a text file on the windows system from the dos command line as BT wont open up the EDIT.com command from the shell withing the metasploit console.

Do I need to xhost+ and set my display back (SETENV) for it to work?
I have been trying to do that, but I may not have the syntax correct for it...