Batch File Not working

jtech

New Member
ok so if i type in xcopy /s c:\Keystok c:/Keystroketest into command prompt it works great. If i turn it into a batch file CMD pops up the closes immediately and i have no idea why? Its a simple enough script so wtf lol. Anyone have a clue as to why its not working in a batch?
 

jtech

New Member
Ok so using robocopy works and is faster so may just go with that but if you have an idea im still open to a solution!
 

Okedokey

Well-Known Member
Well robocopy probably already has elevated privileges. im no coder man, but it sounds to me like you have to provide admin priv.
 
Top