The following batch file is tested in both my Win9X and my WinXP
computer. It simply removes the 400 mSec delay of the StartMenu.
Benny Pedersen, http://2dos.homepage.dk
reg.bat:
@echo off
echo REGEDIT4> %temp%.\reg.reg
echo [HKEY_CURRENT_USER\Control Panel\desktop]>>%temp%.\reg.reg
echo "MenuShowDelay"="0">> %temp%.\reg.reg
start /wait %temp%.\reg.reg
erase %temp%.\reg.reg
BTW. If your "recording" meens exporting, then you can use this:
@echo off
if not KEY(%1) == KEY() goto Export(Key)
%0 "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run"
: Export(Key)
%3 if exist %temp%.\StartUp.tmp echo. You have already exported [%1]
%3 if exist %temp%.\StartUp.tmp %0 %1 re ::
echo.
echo. Press any key to %2Export [%1] to
echo. "%temp%\StartUp.tmp", or hit Ctrl+Break, [Alt]+F4,+F4 to quit.
pause>nul
start /wait regedit /e %temp%.\StartUp.tmp %1
notepad %temp%.\StartUp.tmp
del /p %temp%.\StartUp.tmp
cls
"Benny Pedersen" <b.ped...@get2net.dk> ha scritto nel messaggio
news:L1m39.1$CG3...@news.get2net.dk...
>Practically I must record my file of name archivio.exe in the register of
>configuration, to do departing to the start of win98 automatically, the
>instructions for the recording must be inserted in file of name setup.bat.
I interpret your request as asking how to enter a .reg file into the
registry.
Once you have the .REG file then this will enter it into the registry
without any prompts.
regedit /s filename.reg
"Michael Marquart" <mi...@melbpc.org.au> ha scritto nel messaggio
news:06etkuk754ndacmq8...@4ax.com...