I have a question. My program is setup to change registry entries but if a computer doesn't have the registry entry I'm trying to change, I get a nasty error about it not being there. I wanted to know how I would go about checking to see if there is a registry entry there and if it wasn't there, I would just hide the controls that modify that entry so no one would get error messages.

I also wanted to know how to move and rename files. I know how to do it via command prompt and tried to do that in VB with the process.start("commands") but it doesn't work. When I try to rename a file that exists in a certain directory, then copy a file in the same folder as my program, it says it cannot find the file. What would be the best way to copy files form the local folder to another folder?

Incase you're wondering, I'm setting up a program to get Windows the way I like it without doing everything manually so when my computer or any other computers need to be formatted, I can run this program and fix it all up the way I need it.

Thanks. I searched and didn't find anything.