So i have batch1 as this
REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce /V 2 /D "%~d0\bat\batch2.bat /f
and then I reboot the computer (Windows 8) and batch2 starts.
It seems like the batch file is starting before windows because there is only a black background and the cmd window.
When I "x" the batchfile, windows continues booting.
My problem is that I need the computer connectet to internet to get my batch working.
So I need the batch to load after windows has finished loading.
Any clue? :-)