How to Replace a file that already exists in bigfix?

(imported topic written by jskim91)

Need help on replacing a file.

I have a file that I upload to bigfix using the software wizard I test and it work on a site that does not have the file already. But when I run it on a server that has the file it get stuck on running. I need help on how to replace the file with new one. Here the script I ran using bigfix. The file is called emcaConfig.rsp I have a new one with a different date. I want to replace with the new one.

dos rmdir C:\Response_Files

dos mkdir C:\Response_Files

dos xcopy __Download\ladd1_11*.* C:\Response_Files

(imported comment written by BenKus)

Maybe try:

dos rmdir /S /Q C:\Response_Files

dos mkdir C:\Response_Files

dos xcopy __Download\ladd1_11*.* C:\Response_Files