Copying and moving directories

Kagamin via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Feb 17 00:48:03 PST 2017


On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis 
wrote:
> Well, there's zero difference between renaming the file or 
> directory and moving it. It's simply a difference in name.

Isn't there a difference?
I though
move("/path/dir1","dir2") moves folder to current directory and 
changes its name to dir2
rename("/path/dir1","dir2") leaves folder where it was and only 
changes its name to dir2


More information about the Digitalmars-d-learn mailing list