Eimantas Kasperiūnas
Eimantas Kasperiūnas

Reputation: 318

C++ renaming external files

working with W7 and visual studio. My problem today is that I can't rename external files outside my project directory. Rename() function works for local files only, tried to copy file rename it and put it back to its place, but thats not the best way to do this in my opinion. So what ways you could offer for editing (renaming, deleting and so on) external files in your computer?

Edit: Rename() mentioned above is from stdio.h library : http://www.cplusplus.com/reference/clibrary/cstdio/rename/ I will be using this in sort of automatic file name randomizer

Upvotes: 1

Views: 785

Answers (1)

Related Questions