Por ejemplo
exec xp_cmdshell 'dir c:\*.* /B'
devuelve
| OUTPUT |
| .rnd |
| Archivos de programa |
| AUTOEXEC.BAT |
| CONFIG.SYS |
| Documents and Settings |
| ea011e2d283b8a4855eb45 |
| Inetpub |
| lotus |
| oracle |
| WINDOWS |
| NULL |
exec xp_cmdshell 'dir c:\*.* /B'
| OUTPUT |
| .rnd |
| Archivos de programa |
| AUTOEXEC.BAT |
| CONFIG.SYS |
| Documents and Settings |
| ea011e2d283b8a4855eb45 |
| Inetpub |
| lotus |
| oracle |
| WINDOWS |
| NULL |