Qt C++: Moving a file, source and destination paths are on different drives
I want to move a file from a folder (say on Drive C) to another folder
(say on Drive D) in C++. If, the file is already present in the
destination folder, it should overwrite that. How can I achieve it with
C++ std libraries or Qt?
I found "rename" method, but I'm not sure that it will work if paths are
on different drives. Moreover, what is the platform dependency?
No comments:
Post a Comment