Glam Prestige Journal

Bright entertainment trends with youth appeal.

I have an application that writes files, let's say, on folder C:\Users\AppData\FOLDER

I want to create a link so the files end up on D:\FOLDER.

  1. Do I use soft sym link or junction
  2. Why do I have the error "cannot create a file when that file already exists?"

mklink /D D:\FOLDER "C:\Users\AppData\Folder"

Both folders are on the same disk, they do exist, and they are different partitions with the same filesystem (NTFS)

Thanks in advance

1

1 Answer

Move the files & folders form: "C:\Users\AppData\Folder" to "D:\FOLDER" Then delete "C:\Users\AppData\Folder" and: mklink /d "C:\Users\AppData\Folder" "D:\Folder"

Or rename "C:\Users\AppData\Folder" to something else and then create the link.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy