How do I make a prog. accept command line ??

Just starting out? Need help? Post your questions and find answers here.
coderchris
New User
New User
Posts: 5
Joined: Sun May 23, 2004 11:06 pm

How do I make a prog. accept command line ??

Post by coderchris »

How can I make a prog that will accept command line parameters??
So I have to make a .bat file that sais for example:

program pic.bmp -t pic.jpg
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post by Pupil »

check out the ProgramParameter() command..
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6172
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB - upgrade incoming...)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply