How can additional parameters like explorer.exe -s -r be used to customize the behavior of autorun.inf?

To customize the behavior of autorun.inf, additional parameters like explorer.exe -s -r can be used to specify options such as running the program in silent mode (-s) or restarting the system after execution (-r). These parameters can help tailor the autorun behavior to fit specific needs or preferences.

$autorunContent = "[Autorun]\n";
$autorunContent .= "open=explorer.exe -s -r yourprogram.exe\n";
$autorunContent .= "icon=youricon.ico\n";
file_put_contents('autorun.inf', $autorunContent);