i'm trying to run this simple test script using the osql utility
exec master..xp_cmdshell 'osql -Q"select * from %syslogins..master%" -oH:\testfile\stats.txt'
and i'm getting this error message
cannot open output file
no such file or directory.
- I have created the file and I still get the same error.
any ideas?
thanks rich
RICHARD KIRMSS
RICHARD KIRMSS