Handle unlinking in the batch file