Powerhouse Posted November 1, 2004 Posted November 1, 2004 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.
rdalling Posted November 1, 2004 Posted November 1, 2004 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
Yzöwl Posted November 1, 2004 Posted November 1, 2004 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!
Powerhouse Posted November 1, 2004 Author Posted November 1, 2004 Excelent, that worked, thanks for all the help.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now