Ok, sorry, I wasn't sure what was causing the fail before, but it seems that it cannot xcopy to dn.ini because dn.exe is trying to utilize it when it starts up. So i just need to make sure xcopy completes before dn.exe starts again, but I am able to xcopy before killing dn.exe. and yes dn is just a text file with no extension.