Jump to content

Recommended Posts

Posted (edited)

hi every body out there :hello:

i have made a batch file to copy some files into windows folder and besides that i have made a reg file containing some registry tweaks that this batch file should add them to the registry.OK

my problem is that i dont know how to execute this batch file while installing windows. :}

Thanks in Advance

Edited by Delphianrex

Posted (edited)

Why not?

[SetupHotfixesToRun] (or something like that;)
batch.cmd

Name it batch.cmd and put it in i386\svcpack and voila.

Don't forget to take out "(or something like that;)"

Edited by T D
Posted

@ Delphianrex

Save as boot.cmd.

Edit for your needs.

@echo off

ATTRIB -R -S -H %systemdrive%\boot.ini

del /F /Q %systemdrive%\boot.ini

SET inifile="%systemdrive%\boot.ini"

ECHO [boot loader] >> %inifile%
ECHO timeout=0 >> %inifile%
ECHO default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS >> %inifile%
ECHO [operating systems] >> %inifile%
ECHO multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="XP SP2 Pro" /bootlogo /noguiboot /fastdetect>> %inifile%

ATTRIB +R +S +H %systemdrive%\boot.ini

exit

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...