- Move/Rename your running
app.exe
toapp_old.exe
- Move/Rename your downloaded
update.exe
toapp.exe
- With the next start of your application the update will be used
Renaming of a running i.e. locked dll/exe is not a problem under windows.
More Related Contents:
- How do I rename a file with a string using the rename() function (c++)? [closed]
- Creating an empty .zip file in C++
- program to delete certain text which is predefined in another file from a file in c++
- How do I print the content of a file?
- Odd error: ‘FILE *’ differs in levels of indirection from ‘FILE’ [closed]
- How can I get the list of files in a directory using C or C++?
- Fastest way to check if a file exists using standard C++/C++11,14,17/C?
- Reading and writing binary file
- Getting a FILE* from a std::fstream
- tellg() function give wrong size of file?
- Read Unicode UTF-8 file into wstring
- Create a directory if it doesn’t exist
- How to embed a file into an executable?
- c++ Read from .csv file
- C++ string to double conversion
- C++ Filehandling: Difference between ios::app and ios::ate?
- write and read string to binary file C++
- C++ class header files organization
- c++ template and header files [duplicate]
- Read file names from a directory
- Write a file in a specific path in C++
- std::fstream buffering vs manual buffering (why 10x gain with manual buffering)?
- Open QFile for appending
- How to read huge file in c++
- Difference between opening a file in binary vs text [duplicate]
- C++: Where does the ofstream class save the files to?
- counting the number of lines in a text file
- Is it possible to use threads to speed up file reading?
- How to write an object to file in C++
- Why does wide file-stream in C++ narrow written data by default?