SCOOP command line installer

Sep 11, 2012
88
1
#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.

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"
 
Sep 11, 2012
88
1
#4
My post will probably be of no interest/value unless for those who are willing to give Scoop a try.

Batch-file above is not written by me, but is included and is the way you execute Scoop from the command prompt.