When I executed the below command I am geting the error unable to open host bcp data file.
bcp "select * from ##inteirsrvrs, onepoint..computermaintenance cm where idcomp = cm.idcomputer and cm.inmaintenancenow = 1" queryout "D:aveen\maintmode.txt" -c -SC105PC001\PC001 -T
but when I this statement from dos it is executed.
Can any one tell me what should be the problem and how to over come this.
Thanks in advance