For whatever reason, this:
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\BeginSecond
/v begin-second /t REG_DWORD /f
/d "%HOMEDRIVE%\Documents and Settings\%USERNAME%\Desktop\bat script\begin-second"
- Line feeds were added for readability, the command itself is one continuous line.
Produces the message "Invalid command-line parameters" when the program is run. The command before that adds the registry key "BeginSecond", so that's not the issue...
But, for some strange reason, this command worked perfectly fine before I booted up my Windows 2000 virtual machine today.
There is probably some super easy fix for this. Any help, please?