deleting running .exe

This is a discussion on deleting running .exe within the Windows Programming forums, part of the Platform Specific Boards category; hi! i want my exe file to save itselfe with the contents of a textfield added at the end. for ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    37

    Question deleting running .exe

    hi!

    i want my exe file to save itselfe with the contents of a textfield added at the end.
    for a beginner like me it was hard work to make this working. but i got it done.
    no i have the problem that the prog cannot overwrite itselfe while the file is still running. i think windows wont let me:-(
    what can i do?

  2. #2
    Registered User
    Join Date
    Jan 2002
    Location
    Vancouver
    Posts
    2,220
    copyFile the running exe to a temp .exe, then do the changes to that, then copy it back.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 13
    Last Post: 12-09-2008, 10:09 AM
  2. Running the application (.exe) files on other PCs
    By csonx_p in forum Windows Programming
    Replies: 11
    Last Post: 06-11-2008, 09:31 PM
  3. Problems running compiled .exe on other machines.
    By Troels Leth in forum C++ Programming
    Replies: 39
    Last Post: 05-09-2008, 05:30 AM
  4. multithreading question
    By ichijoji in forum C++ Programming
    Replies: 7
    Last Post: 04-12-2005, 10:59 PM
  5. change running .exe
    By wesentlich in forum Windows Programming
    Replies: 31
    Last Post: 11-02-2003, 12:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21