Skip to content

Instantly share code, notes, and snippets.

@MyITGuy
Created February 19, 2026 19:44
Show Gist options
  • Select an option

  • Save MyITGuy/a625f2810e9763d30269fdfd72216672 to your computer and use it in GitHub Desktop.

Select an option

Save MyITGuy/a625f2810e9763d30269fdfd72216672 to your computer and use it in GitHub Desktop.
$cmtrace = "C:\Windows\CCM\CMTrace.exe"
cmd /c assoc .log=CMTrace.LogFile
cmd /c assoc .lo_=CMTrace.LogFile
cmd /c ftype CMTrace.LogFile="$cmtrace" "%1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment