MicroPro can be started by a command line.
The format is…
Micropro.exe [Filename] [Chip Type] [Fly Window switch] [Quit switch] [Port (Optional)]
There is a space between each option and switch.
Chip Type can be written as 16F873 or PIC16F873.
Example
Wanting MicroPro to start and load the file called c:\hexfiles\test.hex, and use a 16F873 chip, and show the Fly Window on start up.
Micropro.exe c:\hexfiles\test.hex 16f873 /F /q
Example
Wanting MicroPro to start and load the file called c:\files\first.hex, and use a 16F84 chip, and not show the Fly Window on start up.
Micropro.exe c:\files\first.hex 16f84 /f /q
or
Micropro.exe c:\files\first.hex 16f84
MicroPro can also be started from the command line, stay minimised, program a chip and then close again when finished.
Example
Run MicroPro, load a file, select a chip, No Fly, and Quit after programming.
Micropro.exe c:\files\first.hex 16f84 /f /Q
You can also optionally specify the PORT to use on start up.
Example
Micropro.exe c:\files\first.hex 16f84 /f /Q 1
If the port is not valid, then MicroPro will not continue.