sql远程打开pcanywhere 服务
exec master..xp_cmdshell 'tasklist'
exec master..xp_cmdshell 'taskkill /im awhost32.exe /T /F'
结束进程
exec master..xp_cmdshell 'net start'
exec master..xp_cmdshell 'dir "c:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\*.*"'
查找文件
exec master..xp_cmdshell '"c:\Documents and Settings\All Users\Application Data\Symantec\pcAnywhere\Hosts\New Host.BHF"'
启动
posted on 2010-03-01 16:02 gds通用软件开发系统 阅读(246) 评论(0) 收藏 举报
浙公网安备 33010602011771号