I found that I can launch irc using command line with arguments.
The problem is that it won't join the specific channel.
This is that lunch line:
C:\Program Files\mIRC\mirc.exe /join #channel1
This command line only connects to the server, but it won't join the specific channel.
How can I connect and join a channel?