如何将默认调试器设置为vs2010

怎么将默认调试器设置为vs2010
安装的IDE比较多,安了vc6.0,vs2005,vs2010,想用vs2010调试,可是调试时,默认出vc6.0。怎么破?我是编译成一个a.exe,用重定向 a.exe < myfile.txt这个命令

------解决方案--------------------
http://blog.csdn.net/freedomqx/article/details/4803236
------解决方案--------------------
修改注册表项:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug]
"Auto"="1"
"Debugger"="\"C:\\WINDOWS\\system32\\vsjitdebugger.exe\" -p %ld -e %ld"
"UserDebuggerHotKey"=dword:00000000