Small BASIC
A programming language created by Microsoft that serves a stepping stone for beginners from block-based coding languages to more complex text-based languages.
280 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Any know how on a command line to execute an external exe file on a button click?
this is what I coded but not working.
Shell ("c:\sample\setup.exe")
Also how can i run it regardless of any location its copied to?
Hi @HASSAN NOUREDINE , in Small Basic, following operation can do that with LitDev Extension.
Controls.AddButton("Setup", 10, 10)
Controls.ButtonClicked = OnButtonClicked
Sub OnButtonClicked
LDProcess.Start("c:\sample\setup.exe","")
EndSub