Hello, I made a symbolic link from my C:\Program Files (x86)XYplorer to a network drive U:\Programs\XYplorer. When I load a script that does a few things then runs a batch file, it tells me that the batch file cannot be found, even though the file path that it lists out in the error dialog that it says it cannot find is the exact correct path. It must have something to do with the symbolic link. Does anyone have any ideas as a way around this?
Symbolic link: C:\Program Files (x86)XYplorer
Points to: U:\Programs\XYplorer
When I put in the address bar: ::msg <xyscripts>
I get: C:\Program Files (x86)\XYplorer\Data\Scripts
When I run script and it gets to the point to run the batch file (run "<xyscripts>\XYplorerUpdater.bat";), I get this error
The system cannot find the file specified.
run
C:\Program Files (x86)\XYplorer\Data\Scripts\XYplorerUpdater.bat (but the file is there)
Symbolic Link to XYplorer Program Folder
-
hermhart
- Posts: 244
- Joined: 13 Jan 2015 18:41
Symbolic Link to XYplorer Program Folder
Windows 11 Pro; 100% scaling
-
hermhart
- Posts: 244
- Joined: 13 Jan 2015 18:41
Re: Symbolic Link to XYplorer Program Folder
I believe I found the reason. I believe it works fine if I show junctions. But without junction points being shown, it seems to work if I resolve where the junction is pointing to by using:
property("#ResolveJunctions", "<xyscripts>");
property("#ResolveJunctions", "<xyscripts>");
Windows 11 Pro; 100% scaling
XYplorer Beta Club