Solve your biggest tech problems alongside global tech experts with 1:1 help.
USE [DMS] GO /****** Object: StoredProcedure [dbo].[RunPingUtil] Script Date: 04/06/2009 08:30:40 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO ALTER Procedure [dbo].[RunPingUtil] AS BEGIN SET NOCOUNT ON; DECLARE @Workstations varchar(max) SET @Workstations = '\\Crprchblgsrd\d$\ProofOfConcept\data.txt' DECLARE @CommandLine sysname; SET @CommandLine = '\\Crprchblgsrd\d$\ProofOfConcept\ProofOfConcept.exe ' + @Workstations + ''; EXEC xp_cmdshell @CommandLine; END
Join the community of 500,000 technology professionals and ask your questions.