Thank you for the post!
I am having a problem when executing the SP:
This works fine:
EXECUTE [master].[dbo].XP_FILEEXIST 'C:\Archivos de programa\'
But this returns 'not a directory':
EXECUTE [master].[dbo].XP_FILEEXIST 'C:\Archivos de programa\R\'
I have googled...