I am probably making things waaaaay to complicated here, so if anyone has a simple correction/explanation, I would greatly appreciate that :). I also saw a lot of questions on this website regarding symlinks, but I have not found any answer that could help me. anonmkdirwriteenableYES Activate directory messages - messages given to remote users when they go into a certain directory. anonuploadenableYES Uncomment this if you want the anonymous FTP user to be able to create new directories. But then, from the aforementioned source, I got the idea that I don't need to be inside a specific directory? Also, you will obviously need to create a directory writable by the FTP user. Running the command one layer above this one (so inside "main-folder") however also gave me the error so did trying this from the D-drive location. I thought that the map in which I ran the command would be incorrect. And from another source (which I cannot find this quick) I understood that both directories already need to exist. I also saw this accepted answer here at, saying that the destination directory cannot exist? Because this is the location where I want to put my files, I find this very weird. I thought that, since the error is that something already exists, my empty map should be removed since, maybe, it would be created? In this regard I find this accepted answer at very confusing. I am a little confused as to how symlinks are supposed to point: in my common sense, but I would think this syntax is correct according to this page from. The sources I read are confusing to me: for example, the official Microsoft documentation talks about and, which could refer to both directories depending on how you look at it. I thought that maybe I should reverse the two directories. My command is the following: C:\users\me\documents\main-folder\folder-I-want-linked > mklink /J "D:\folder\another folder\folder-where-I-want-to-store-the-docs" "C:\users\me\documents\main-folder\folder-I-want-linked"Īlthough I am a beginning programmer and know some things about the CLI, I can't figure out my mistake. I read about symlinks and tried to link a directory from C:\ to D:, but I always get the "cannot create a file when that file already exists" error. Recently, my C-drive (SSD) got full and I decided to move some things over to my D-drive (regular harddrive). So I posted my command below and I hope that somebody can spot the mistake (and explain it in simple terms) :). I am very confused regarding everything I read on symlinks, since it is basically always unclear which directory is which and whether both or one of the directories at hand need to exist already. TLDR When running the command below I get the "cannot create a file when that file already exists" error.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |