You should realise that people here give their time and experience for free, not asking anything in exchange, but expecting to be told accurate information about the task and any special details, like not wanting temporary files.
On that point the explanation you gave about temporary files seemed unlikely, and you've now said the task is just for home use so it makes even less sense.
You also used the term 'clients' to begin with as if it was a business project.
IDK which part of your explanations are to be believed. Maybe none.
Let me try and make this clear since you seem to be more concerned with how I use the program and whether it is in a subversive manner rather than focusing on the coding issue. Yes it is for family use to backup game a games forlder. If that works successfully I may make the batch file available to others (non family) to do the same through a games forum we belong to, hence the term clients is a generic term I used in one of my description.
your comment "If this is a program that you are going to use on your family's computers and network to do some kind of backup why are we screwing around with trying to search and destroy for your program on every drive letter that might be connected to the system? " implies the program is doing a "search and destroy" an assumption you have come to which is not reflected in any of the code I have put forward to date and is unfounded. Almost every piece of code that you guys help with could be used subversively if the end user wanted to do so. You have read my comments about family, clients, not wanting to use temp files and drawn your own conclusions which are off base.
You stated: "You should realise that people here give their time and experience for free, not asking anything in exchange, but expecting to be told accurate information about the task and any special details, like not wanting temporary files."
I realize and appreciate that fact and I did give accurate information as to what I expected from the code, but in my mind at the time I was thinking of everything bein internal. It never occured to me that temp files would be used. I personally think code kept internal is cleaner. If that is not your opinion that is fine but don't jump of the deep end and assume it has some kind of subversive intention.
I hope this has clarified things, but I doubt it. You seem to be on some kind of mission, anyway let's put this rant to bed and either get on with things or not. Thanks.