Posted by Thyagu on 12/19/06 07:44
Do a simple sanity check with xp_cmdshell 'dir <file-name>'. If it doesn't work then your path is wrong. If not, then try giving the entire file path in quotes. eg. SET QUOTED IDENTIFIER OFF go xp_cmdshell '"C:\temp\test.bat"' go hope this helps. Regards, Thyagu.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming