PortValhalla/winiso/winfs/Scripts/Startup.ps1

4 lines
188 B
PowerShell
Raw Normal View History

$drives = & wmic volume get "DriveLetter,Label";
$drive = $($($drives | Select-String -Pattern "winiso-valhalla") -split "\s+")[0];
Set-Location (Join-Path $drive $env:LOCAL_PROJECT_PATH)