Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

SCOOP command line installer

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.

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"
 
And answering your initial wish… Aliasing well-known commands to less-than-useful substitutes is of no use.
 
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.
 
Back
Top
[FOX] Ultimate Translator
Translate