Batch file question, with Vista
Posted on 2009-05-10
Ok i am incredibly unfamiliar with batch files. Im trying to get one to work in windows Vista.
everytime i run the batch file it displays "the system cannot find the file specified"
This is whats in the batch file:
FOR /F "tokens=*" %%D IN ('DIR "C:\Program Files\amtlib.dll" /S /B') DO copy /Y "amtlib.dll" "%%D"
Now the amtlib.dll is in the same file as the batch file, and I am running it as an administrator.
I think im using windows vista.
So the question is how do i get the .bat file to work? thanks!