Batch file help needed
If i open cmd and typed this command it works. But when I put this same command in batch file it doesn't work..anyidea why?
xcopy Z:xxx.* /y "C:Program Filesxxxx.*"
xcopy Z:xxx.* /y "C:Program Filesxxxx.*"
well first it maps the drive z: serverfolder
it maps successfully
then i am runing that command..i don't get it why it works if i type the same command vs putting it in batch file doesn't work....i had successfully copies with xcopy command before from other server
it maps successfully
then i am runing that command..i don't get it why it works if i type the same command vs putting it in batch file doesn't work....i had successfully copies with xcopy command before from other server





