ورود

View Full Version : اجرای Exe



maaryaam
یک شنبه 02 مرداد 1384, 08:21 صبح
سلام
من می خوام یک Exe از طریق SQL اجرا کنم
لطفا کمکم کنیذ

متشکرم

AminSobati
یک شنبه 02 مرداد 1384, 23:51 عصر
xp_cmdshell

Hamedm
دوشنبه 03 مرداد 1384, 01:22 صبح
سلام

xp_cmdshell
این هم Syntax این دستور:

xp_cmdshell {'command_string'} [, no_output]

Arguments
'command_string'

Is the command string to execute at the operating-system command shell.
command_string is varchar(255) or nvarchar(4000), with no default. command_string
cannot contain more than one set of double quotation marks. A single pair of quotation
marks is necessary if any spaces are present in the file paths or program names
referenced by command_string. If you have trouble with embedded spaces, consider using FAT 8.3 file names as a workaround.

no_output

Is an optional parameter executing the given command_string, and does not return any output to the client.

در ضمن Permission این دستور افراد SYSAdmin میباشند.

در پناه حق موفق باشید و پرتوان