どうすればdir
他のようなシステムコマンドを実行できxp_cmdshell
ますか?
1 に答える
1
問題はありません。例を次に示します。
dstestはリモート サーバーです ...
編集
これを実行してアクティブ化します:
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO
于 2012-05-20T14:32:57.303 に答える