$deleteregdir = "$rootpath/$username"; rmdir -r ($deleteregdir);