You shouldn't have to do this, avast is a resident AV and should start automatically on boot.
There should be an avast 'a' and 'i' icon in your system tray (bottom right of your screen) ?
What avast processes are running in Task Manager, they begin with ash or asw, see image ?