![]() [HKEY_CLASSES_ROOT\Folder\shell\Delete on /E:OFF /C REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\Currentversion\\RunOnce /v \"Del %1 OnNextReboot\" /d ^\"cmd.exe /c RD /S /Q \\\"%1\\\"\" /f\""Īpparently this registry code has been floating around the internet for a long time, and the most updated information I could find about it was someone saying that it worked for them on Windows 7. ![]() [HKEY_CLASSES_ROOT\*\shell\Delete on /E:OFF /C REG ADD HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\Currentversion\\RunOnce /v \"Del %1 OnNextReboot\" /d ^\"cmd.exe /c DEL /F /Q \\\"%1\\\"\" /f\"" I've stumbled across the following registry entries that give me such an option, but on Windows 10 圆4 it isn't actually deleting the files I apply it to. ![]() Having a right-click context menu option seems to be the most efficient solution. norestart Suppresses any attempts to restart. quiet Prevents any UI and prompts from displaying. ![]() NET silently, such as in a production environment or to support continuous integration, use the following switches: /install Installs. I've been looking for the most convenient way to tell Windows 10 to delete certain files upon rebooting. NET to a different path, use the dotnet-install scripts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |