This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a temporary directory if it doesn't exist | |
$tempDirectory = "C:\Temp" | |
if (-not (Test-Path $tempDirectory -PathType Container)) { | |
New-Item -ItemType Directory -Path $tempDirectory -Force | |
} | |
# Step 0: Backup Arc: | |
Write-Host "Backing up arc..." | |
& "C:\Program Files\7-Zip\7z.exe" a -t7z "c:\Temp\arcBackup.7z" "c:\arcBrowser\*" -mx=4 |