diff --git a/Run This File With Powershell to Play.ps1 b/Run This File With Powershell to Play.ps1 new file mode 100644 index 0000000..78610ef --- /dev/null +++ b/Run This File With Powershell to Play.ps1 @@ -0,0 +1,9 @@ +$currentDirectory = Get-Location +$jarFile = "mfee.jar" +$foundJar = Get-ChildItem -Path $currentDirectory -Filter $jarFile -Recurse | Select-Object -First 1 +if ($foundJar) { + $javaExecutable = "java" + Start-Process -FilePath $javaExecutable -ArgumentList "-jar", $foundJar.FullName +} else { + Write-Host "The JAR file '$jarFile' was not found in the current directory or its subdirectories." +} \ No newline at end of file