no del batch file

  1. D

    safe delete files command

    I wrote a simple batch file I call drydel.btm echo off rem drydel means dry run for del command rem dir %1$ INKEY /k"YN" del? %%ans IFF %ans EQ Y THEN del %1$ ENDIFF I would like to make this behave like a command, that is, not have to be in the directory I want to use it in. What is the best...