Create regcmd.cpp