PDA

View Full Version : Invoking thinBasic from Powershell



Benjamin
15-12-2023, 05:46
I just successfully ran my first program (Hello World, of course). I did it in thinAir, but I want to know how to invoke the interpreter directly from Powershell, since I will normally be using the SFPLite editor. Forgive me for such a basic question. I'm coming from the Linux world, so everything in Windows is a little foreign to me still.

Benjamin
15-12-2023, 06:01
Never mind, I figured it out. Believe it or not, chatGPT knew the answer. But I should to add thinBasic to my PATH variable.

For anyone reading this in the future, in PowerShell you use the Get-Process cmdlet:

Get-Process "\Path\to\thinBasic.exe" "myfile.tbasic"

Peace.

ErosOlmi
15-12-2023, 07:59
Thanks

I will add info in thinBasic help manual.

Yes, ChatGPT knows about thinBasic more than me ... ahahahahahah :D

https://chat.openai.com/share/ebf5ed37-dc63-4a4e-a646-415a9565c8a6