Quote:
Originally Posted by mondragon
some mistake in quotes in copy command 
and need variable for reading [if exist] where game was installed [that what u said already :P]
edit
but what if someone want only patch /crack game ?  and if he run twice or more that bat ? u dont have orginal files but cracked version :P
|
Actually there is no mistakes in the copy command, Its the exact format ive used for my 200 other games i installed and it works flawlessly. Also when a User execs the bat/exe more then once it will fail upon over writing the bak up file as it allready exists. I did it on purpose this way, you can not rename a file that has that name allready from within a command prompt. If a user wants just the crack/patch if he attempts to install the game it will bring up the same way but 99% of all pc games when the install is exec after it is truly installed it will prompt to uninstall / repair / exit they just simply click Exit.
P.S. Im working on a way to put in a variable for install directory right now, so far ive been able to return a unclean value to the dos window and a clean return via vbs to a prompt but dont know how to return a vbs value to dos as a variable.