Button to open specific file in Notepad

I've copied the Notepad shortcut to another toolbar. I want it to open a specific file when opened. How do I achieve this?

notepad x:\xx\xxx.xxx
or
notepad "%DriverData%\..\etc\hosts"

Thank you qiuqiu