PDA

View Full Version : Delete File


jhuang
02-24-2004, 03:31 PM
Hi,

I need to delete some files from my project directory in the middle
of the build. How should I do it?

Thanks,
Jing

pjaquiery
02-24-2004, 03:50 PM
Use a "Run Program" step with something like this as the Command:

%DOSCMD% del /F "%MACRO_WITH_FILENAME%"

or

%DOSCMD% del /F "%PROJDIR%\file.ext"

or (for multiple files)

%DOSCMD% del /F "%PROJDIR%\*.ext"