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