title: Get file contents via xp_cmdshell
body: <p>Is there way to get file from windows xp command prompt? I tried to run <code>xp_cmdshell 'type [path to file]'</code> but then when i insert theese data into other file and renaming it to file.exe (that is executable) it does not work. Any suggestions how to get file contents in such way that i can use it?</p>