i would like to delete all the files in a directory in another server using xp_cmdshell
EXEC xp_cmdshell 'FORFILES /p \\t-fc-fim\logs /m *.* /d -30 /c "CMD /C del /Q /F @FILE"'
i get an error ERROR: UNC paths (\\machine\share) are not supported.
what can i do to make this work ?
your help is much appreciated.