1

I learned from this question how to make symlinks in Windows. I think Python actually uses the Powershell command New-Item under the hood to make symlinks in Windows. I make a bunch of symlinks that point to a bunch of images, using the pathlib.Path method symlink_to() in Python 3.6. The method succeeds, and now I have a bunch of image symlinks in a new folder. HOWEVER, the Windows Photos app cannot iterate through the symlinks as images in the same way it could with the real image files. The symlinks open correctly under the Photos app, but once open, I can't press up or down or right or left to iterate through the files in the folder. Is this a bug? How can I get around this?

Just to clarify, the symlinks have the same file names, including the extension. Also, Windows file explorer does not display the image thumbnails.

  • Have the links got the same extension (eg .JPG) as the files they are pointing to? If not, an application looking for other image files probably won't find them. – AFH Dec 12 '17 at 13:00
  • The symlinks have precisely the same file names, including the extension. – Ray Dec 12 '17 at 14:52

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.