I’m not a big fan of the username and password in scripts either, but then I discovered a command to make the script delete itself and its containing directory at the end of the script. Just add this to the end
cd …
rmdir .\dir /S /Q & exit

or to delete just the script try this
del /f/q “%~0” | exit

Hope that helps