Giter Site home page Giter Site logo

Comments (11)

comejv avatar comejv commented on June 16, 2024 1

Thank you ! Please tell me if you need any more info about my system or if you want me to run some tests.

from symlinkcreator.

arnobpl avatar arnobpl commented on June 16, 2024

from symlinkcreator.

comejv avatar comejv commented on June 16, 2024

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.

from symlinkcreator.

arnobpl avatar arnobpl commented on June 16, 2024

I have reopened the issue. I will take a look to understand what might get wrong.

from symlinkcreator.

arnobpl avatar arnobpl commented on June 16, 2024

Welcome. One thing I would like to know about the exit code coming from the script. To do so:

  1. In the application, tick "Retain script file after execution".
  2. Add a source file and set a destination path. It could be anything. I just want to test why it never worked.
  3. Click "Create symlinks" button and grant admin permission.
  4. So it will fail in your system. Now go to the Symlink Creator application's path and find the script file, say SymlinkCreator_1234567890.cmd.
  5. Copy SymlinkCreator_1234567890.cmd file to Downloads folder.
  6. Right-click Start Button on Taskbar and click "Terminal (Admin)".
  7. Now copy-paste the following command (and replace SymlinkCreator_1234567890.cmd with the actual script filename) in terminal, and click "Paste anyway" button in the warning dialog and press Enter:
cd .\Downloads
.\SymlinkCreator_1234567890.cmd
echo $LASTEXITCODE

  1. Terminal will print a number at the end. Let me know what is the number. Is it just 1 or something else? Also, do you see any other error messages in the terminal?

Hope that will find something in your system. Then we can proceed further to solve the problem.

from symlinkcreator.

comejv avatar comejv commented on June 16, 2024

Ok that's weird, using the generated script worked...
image

But the app still doesn't. Any idea why ?

from symlinkcreator.

arnobpl avatar arnobpl commented on June 16, 2024

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!

from symlinkcreator.

arnobpl avatar arnobpl commented on June 16, 2024

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!

from symlinkcreator.

comejv avatar comejv commented on June 16, 2024

Tried, it, same non descriptive error ! But the generated script will be enough for my usage. Thank you for your answers.

from symlinkcreator.

arnobpl avatar arnobpl commented on June 16, 2024

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!

from symlinkcreator.

maomaochong199 avatar maomaochong199 commented on June 16, 2024

遇到了同样的报错,非常奇怪,当我在压缩包里直接运行程序则不会报错,解压后运行反而会报错。版本1.2.5 1.2.6 1.2.7 都存在相同问题 @comejv @arnobpl

from symlinkcreator.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.