Search : in
By :

Replace file .exe upon Application close

Last answer on Jan 10, 2009 12:55:22 am GMT blucher_au, on Sep 7, 2008 9:22:53 am BST 
 Report this message to moderators

Hey Guys/Gals,

I was wondering if this is even possible, and stumbled across your forum hoping that someone out there has the experience to help me.

I have a .exe file that randomly corrupts or something, and I constantly have to replace it with another .exe file from the CD for the program to work. I can copy the .exe off the CD and keep it in a folder ready for quick copy, though it is a pain in the bum as the corruption is random.

So, my question is:
What can I do (script or otherwise), to replace the dodgy .exe (e.g. C:/Program Files/ X FOLDER X/ insert.exe) with the one from the CD (in another folder on my desktop).

Therefore, I imagine the script would look like
replace C:/Program Files/ X FOLDER X/ insert.exe with C:/USER/Desktop/ new.exe


Would it be possible to execute this command everytime I close the application, therefore it will be error-free to re-open everytime?


Thank you all very much.

Kind regards,

Kris

Configuration: Windows Vista
Firefox 3.0.1

Best answers for « Replace file .exe upon Application close » in :
Unable to run executable files (. Exe) Show Unable to run executable files (. Exe) First Solution Second solution My programs are launching no more It may happen that only executable files aren’t eager open properly: either you have the dialog box "Open With", it opens with...
Creating an Autorun.inf file ShowCreating an Autorun file Allowing autorun Creating an Autorun.inf file Variations Customizing the icon Customizing the icon text Customizing the icon menu Allowing autorun Windows provide users with simple utility that runs...
Create and Open a RAR file ShowCreate and Open a RAR file *How to create a RAR file *How to open a RAR file RAR is an archive file format that is used during data compression, error recovery and file spanning. RAR is the acronym for Roshal Archive, inspired by...
Opening a PPS FILE ShowOpening a PPS FILE PPS, acronym for PowerPoint Show, is a tool created by Microsoft Office PowerPoint for distinguished presentations and slideshows. PowerPoint enables you to draft your own presentation within different display and design...
Download Flash EXE Builder ShowFlash EXE Builder is a conversion tool to convert Flash video file (SWF) into executable files (.exe). It allows you to create professional applications from flash files using Adobe Macromedia Flash, SwishMax, KoolMoves, Flash EXE Builder is very...
Control - control.exe Showcontrol - control.exe control.exe (control stands for Control Panel) is a Windows NT/2000/XP generic process which corresponds to the control panel. The file that corresponds to this process is normally found in the directory...
Alg - alg.exe Showalg - alg.exe The process alg.exe (alg stands for Application Layer Gateway) is a generic Windows NT/2000/XP process which manages the third-party Internet Connection Sharing protocol, and, if need be, your firewall. The process alg is not in any...
Vsserv - vsserv.exe Showvsserv - vsserv.exe vsserv.exe is a process which corresponds to the antivirus program BitDefender, produced by BullGuard. The file which corresponds to this process is normally found in the directory "C:\Program...

1

manser.cz, on Sep 7, 2008 11:50:13 am BST

Hello,

i think you can do it but can you tell what application it is actually?

Reply to manser.cz

2

blucher_au, on Sep 7, 2008 1:27:41 pm BST

Okay cool.

Yeah it's just a game I had on my laptop before I went overseas, and now that I'm over here - I didn't bring the CD so I found a no-CD crack. I couldn't really be bothered to get someone to send it over here, I don't play it that often, but notice that it happens when I close the game down completely. And I need to replace the .exe all the time for the no-CD crack to work. I was hoping windows had an easy script solution.

Any suggestions?

Reply to blucher_au

3

 kopps31, on Jan 10, 2009 12:55:22 am GMT

Hey, i've got a similar problem, except that my one is a msstyles file. when i run it the file corrupts, and theres an exception. can someone help me please?
thanks

Reply to kopps31