November 1, 200421 yr I'm trying to make an easy way to add the latest reference file to Ad-Aware 6, and figured just copying the .ref file would work. I added the following lines to my cleanup.cmd...DEL "C:\Program Files\Lavasoft\Ad-aware 6\reflist.ref"Copy "C:\Install\Applications\AdAware\reflist.ref C:\Program Files\Lavasoft\Ad-aware 6\"The original file deletes, but for some reason, the new reflist.ref file wont copy over. Do I have the wrong syntex or something (been a long time since I messed with DOS commands).Any help would be appreciated.
November 1, 200421 yr Your syntax is wrong,try thisCopy "C:\Install\Applications\AdAware\reflist.ref" "C:\Program Files\Lavasoft\Ad-aware 6"orCopy C:\Install\Applications\AdAware\reflist.ref "C:\Program Files\Lavasoft\Ad-aware 6"R
November 1, 200421 yr You can miss out the delete if you add the yes for overwriting the original one. Also it would be possible to add enviromnent variables, to prevent tying the code to a specific drive letter.COPY/Y "%systemdrive%\Install\Applications\AdAware\reflist.ref" "%ProgramFiles%\Lavasoft\Ad-aware 6\"Hope this helps!
Create an account or sign in to comment