Skip to content

Instantly share code, notes, and snippets.

@king6cong
Last active December 5, 2017 09:01
Show Gist options
  • Save king6cong/5d3eb7ff9a3cd0bea88875b27fdc7c0b to your computer and use it in GitHub Desktop.
Save king6cong/5d3eb7ff9a3cd0bea88875b27fdc7c0b to your computer and use it in GitHub Desktop.
$crash_path="$home\AppData\Local\Temp\Lark Crashes"
$zip_path="$env:temp\lark"
Write-Host "crash_path: $crash_path, zip_path: $zip_path" -foreground Green
New-Item -Force -Path "$zip_path" -ItemType Directory
Set-Location "$zip_path"
Compress-Archive -Force -Path "$crash_path" -DestinationPath dump.zip
Write-Host "completed. Please upload dump.zip for inspection" -foreground Green
explorer.exe .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment