Hi,
I want to launch a batch file which is in the C directory: via the xp_cmdshell command in sql server 2008 it always returns "NULL" to me knowing that I have activated the xp_cmdshell command.

example: exec xp_cmdshell N'powershell.exe start "C: \ tt.bat" ';

thank you very much for your help.

Salut,
Je veux lancer un fichier batch qui se trouve dans le répertoire C: via la commande xp_cmdshell dans sql server 2008 il me renvoie toujours "NULL" sachant que j'ai activé la commande xp_cmdshell.

exemple: exec xp_cmdshell N'powershell.exe start "C: \ tt.bat" ';

Merci beaucoup pour votre aide.