startupdir to cpp