Skip to content

Instantly share code, notes, and snippets.

@domhoward14
Created September 10, 2024 18:31
Show Gist options
  • Save domhoward14/3349c5a9f49e192f371168126cf29d4a to your computer and use it in GitHub Desktop.
Save domhoward14/3349c5a9f49e192f371168126cf29d4a to your computer and use it in GitHub Desktop.
suppress application output
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.pdf\UserChoice" /v ProgId /t REG_SZ /d AcroExch.Document.11 /f
reg add "HKEY_CLASSES_ROOT\AcroExch.Document.11\shell\open\command" /ve /t REG_SZ /d "\"C:\Program Files (x86)\Adobe\Reader 11.0\Reader\AcroRd32.exe\" \"%1\"" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment