check for drive formatting for ls command and delete command.