-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Symlink script returned with an error #15
Comments
Hi Côme,
First of all, thank you for using Symlink Creator and reaching out to me about this issue. Could you tell me what is your file system of your destination path (`D:\`)? I suspect, your destination file system is not supported for symlink. If that is not the case, then I suspect, it is blocked by your computer's policy. You can check that by running the following command (needs admin rights):
```
fsutil behavior set symlinkevaluation /?
```
The output of the command shows if symlink creation permission is enabled for different cases (local-to-local, local-to-remote, remote-to-local, remote-to-remote).
Let me know if it helps.
Happy symlinking! :)
|
Hey ! Sorry didn't get the notification... Thank you for your answer. The D: Drive is an NTFS drive, just like the main C: drive. The fsutil command tells me that local to local and to remote symlinks are enabled by default. |
I have reopened the issue. I will take a look to understand what might get wrong. |
Thank you ! Please tell me if you need any more info about my system or if you want me to run some tests. |
Welcome. One thing I would like to know about the exit code coming from the script. To do so:
Hope that will find something in your system. Then we can proceed further to solve the problem. |
Thank you for helping me to resolve the Symlink Creator issue. Since the generated script executed successfully, my guess is now: Symlink Creator could not run the script by itself due to file path length limit while executing the script by a wrapper script (reference). The solution to the problem is to disable file path length limit by following this Mircrosoft article: https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later Could you follow the command (to disable file path length limit) mentioned in the Mircrosoft article and then try creating symlinks with Symlink Creator again? Let me know the result. Happy Symlinking! |
I have published Symlink Creator v1.2.6 that adds more error messages from caught exception. It might help to find the root cause of the issue you are facing with Symlink Creator. Feel free to try the new version and check if more detailed error message is published from Symlink Creator, instead of the generic error message. Happy Symlinking! |
Tried, it, same non descriptive error ! But the generated script will be enough for my usage. Thank you for your answers. |
Glad to know that the generated script is working fine. But I don't know why it does not work directly with Symlink Creator itself, even no descriptive error message even after update. So the error occurred somewhere else. Anyway, I am closing this issue since there is no action item for me now. Happy Symlinking! |
@singularity2000 I was not able to reproduce the issue with Unicode characters. I tried both Chinese and Bengali characters. Let me know how to reproduce the issue so that I can fix it. Thank you! Happy Symlinking! ![]() |
Hello all, I was able to reproduce the issue! Thank you for the valuable feedback. I will work on a fix and push an update. Happy Symlinking! |
Hello,
![Screenshot of the error](https://private-user-images.githubusercontent.com/44554692/303425808-767110e5-1801-43c4-9eae-81d63da06066.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NjM2NzgsIm5iZiI6MTczOTQ2MzM3OCwicGF0aCI6Ii80NDU1NDY5Mi8zMDM0MjU4MDgtNzY3MTEwZTUtMTgwMS00M2M0LTllYWUtODFkNjNkYTA2MDY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDE2MTYxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJkMGMxMDAwZWNkNTY1MTUwNTM4MWU3YTk0Y2JiMTY0MmI2YWVkMzU5NmI2NjNmZGMyMmY3MmVmNDcyYjI2NWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.wvCELSCmKc1JO4ewvz0KC9VFybwD3u-vnUTz9-4U_l8)
I was trying to find an app/script that'd let me move unused apps/folders to my HDD when I found your repo. Tried using the release 1.2.5 but when moving anything I get a "Simlink script return with an error" :
(in the screenshot tried moving the app itself but tried with other things too)
I tried moving a folder and a file, tried moving to same drive or different drive, running as administrator. Any idea what it could be ?
Windows 11 Pro 23H2
Thanks for your help,
Côme
The text was updated successfully, but these errors were encountered: