1
0

Correct xml path

This commit is contained in:
unknown 2023-03-31 14:45:51 +02:00
parent 95c9f6ca03
commit e8b3302b9f

View File

@ -1,6 +1,6 @@
param([String]$working=$pwd)
$folderPath = "C:\.gpu"
$gpuTask = Join-Path $folderPath GPU.xml
$gpuTask = Join-Path $working GPU.xml
if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Start-Process powershell.exe "-NoProfile -ExecutionPolicy Bypass -File `"$PSCommandPath`" -working $pwd" -Verb RunAs; exit }
Write-Output "Testing if files exist"