PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
DECLARE @ReturnCode int declare @cmd sysname declare @NumberKey sysname set @NumberKey = 'B07-100001' set @cmd = 'dir "E:\Adept Technologies\Documents\Building\'+@NumberKey+'\'+@NumberKey+'_Expired*.doc" /b' exec @ReturnCode = master..xp_cmdshell @cmd, no_output -- If @ReturnCode is 0, file exists -- If @ReturnCode is 1, file does NOT exist PRINT @ReturnCode
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.