I’m in the unfortunate situation that some of my Cloverleaf installation runs on Windows
Since .bat is very limited I’ve been looking into PowerShell
My problem is to set the Cloverleaf environment variables in the begining of the script, setroot, setsite
My workaround is to set the hciroot, hcisite in a .bat file, and from there call the PowerShell script.
Does anyone have a more elegant solution?