Rename a folder?
-
Hello, is there any other function to rename folder as _wrename(old_name, new_name); Thanks for any help Arrin!
ShFileOperation (or IFileOperation ) is your friend. look at the documentation on MSDN.
Watched code never compiles.
-
Hello, is there any other function to rename folder as _wrename(old_name, new_name); Thanks for any help Arrin!
An alternative to
SHFileOperation
is using MoveFile[^] or MoveFileEx[^] APIs. These functions can rename either a file or a directory. -
An alternative to
SHFileOperation
is using MoveFile[^] or MoveFileEx[^] APIs. These functions can rename either a file or a directory. -
ShFileOperation (or IFileOperation ) is your friend. look at the documentation on MSDN.
Watched code never compiles.
-
ShFileOperation (or IFileOperation ) is your friend. look at the documentation on MSDN.
Watched code never compiles.
-
Hi, i forgot to say that this is a directory in a LAN? In this case, do i have to do the same, to use same function SHFileOperation for network operations??? When i tray to do this, i receive an error like this "Invalid File path"?? Thanks Arrin
Beware to string escapes: LAN names like \\server\share\dir\file.ext should be "\\\\server\\share\\dir\\file.ext". It is one of the most common errors.
2 bugs found. > recompile ... 65534 bugs found. :doh:
-
Beware to string escapes: LAN names like \\server\share\dir\file.ext should be "\\\\server\\share\\dir\\file.ext". It is one of the most common errors.
2 bugs found. > recompile ... 65534 bugs found. :doh:
Hi, thanks for answer, is that ah way to resolve a network drive to this LAN name? My Letter is this one P on network, "P:\project\projectname.pf" how to resolve this name to "\\server\project\"??? Is there any solution for this?? I select this folder over an File Dialog, and they give me this path back, but how to convert him to this LAN name! Thanks for any help! Arrin
-
ShFileOperation (or IFileOperation ) is your friend. look at the documentation on MSDN.
Watched code never compiles.