Jump to content

copy files after install


Recommended Posts

Hi

I am trying to copy ad-aware def file after install using a bat file in guirunonce

@echo off

title Copying defs.ref

copy /y %systemdrive%\install\defs.ref C:\Program Files\Lavasoft\Ad-Aware SE Personal\defs.ref

[GuiRunOnce]

"REGEDIT /S %systemdrive%\Install\tweaks.reg"

%systemdrive%\Install\cleanup.bat

Please tell me whats wrong

smartie91

Link to comment
Share on other sites


copy /y %systemdrive%\install\defs.ref C:\Program Files\Lavasoft\Ad-Aware SE Personal\defs.ref

must be :

copy /y "%systemdrive%\install\defs.ref" "%ProgramFiles%\Lavasoft\Ad-Aware SE Personal\defs.ref"

Edited by sonic
Link to comment
Share on other sites

Hi Sonic

thanks for the reply

I have changed my bat file

I have made a install folder on c:\ and inside is my bat file with

copy /y "%systemdrive%\install\defs.ref" "%ProgramFiles%\Lavasoft\Ad-Aware SE Personal\defs.ref"

but it still dont copy over the file defs.ref which is also in c:\install\ I thought this would test it to save having to build a new iso and installing just to test a small thing

smartie91

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...