- Sep
- 103
- 1
Just discovered this:http://scoop.sh/
I would wish some TCMD user wrote something similar to SCOOP/Chocolatey using TCC.
Could be a real good candidate to demonstrate what TCC runtime could do.
I am just not smart enough to do this myself.
For now, I try to make the PowerShell script run from TCC - trying to find out how to run this from TCC using the PSHELL command - so far no success.
Any hints are welcome.
I would wish some TCMD user wrote something similar to SCOOP/Chocolatey using TCC.
Could be a real good candidate to demonstrate what TCC runtime could do.
I am just not smart enough to do this myself.
For now, I try to make the PowerShell script run from TCC - trying to find out how to run this from TCC using the PSHELL command - so far no success.
Any hints are welcome.
Code:
@echo off
setlocal enabledelayedexpansion
set args=%*
:: replace problem characters in arguments
set args=%args:"='%
set args=%args:(=`(%
set args=%args:)=`)%
set invalid="='
if !args! == !invalid! ( set args= )
powershell -noprofile -ex unrestricted "& 'C:\Users\user\scoop\apps\scoop\current\bin\scoop.ps1' %args%;exit $lastexitcode"