I can't make it work! I have the following error:
Access is denied.
-----------------------------------------------
use master
declare @FileName1 varchar(100)
declare @FileName2 varchar(100)
declare @cmd varchar(1000)
set @FileName1 = 'C:\Data\Rhapsody\NCWTExtract\*.*'
set @FileName2 =...