Thanks for the code. I didn't know win 7 had the built in timeout feature. I did know about taskkill. However, the reason I didn't use it was because when it's used to terminate explorer, for some reason it allows explorer to start right back up again in about a second. I was using ckill because the problem does not occur with that program. Maybe there is a way to make taskkill work right?
The code looks pretty good except for the error BC mentioned and you forgot a space before (x86) in a few places. I've fixed up the code and I'll get it tested as soon as I have some time to set up a Win 7 VM. (I already have it moved on my Win 7 and I don't want to move it back and possibly mess things up.)
Move program files?
Sorry, I don't understand.
Have you tested this concept?
Did you see where somebody else did that?
Why do you want to do that?
Yes, I have it done manually on my Win 7 machine. Yes, I think I might have seen a tutorial on making directory symlinks before. I don't think most people use it for program files though, but it works great.
There are several reasons why I want to:
1. I like to keep my C: drive containing only the OS because I use it to boot from an SSD and want to conserve space on that drive.
2. If I ever need to wipe my OS, I can just backup the software reg hive and then reload my OS and copy it back and not have to reinstall my programs (I've not needed to yet, but I think it should work.)
3. I like to keep my files organized on different partitions (mainly just for ease of access and asthetic reasons)
The reason I want to make a batch for it is just in case I build more systems for myself or other people. Whenever I build a system, I tend to put a small fast SSD as the OS drive and the data on a slow cheap normal hard drive with more capacity per $.