WINE file open/save dialog using bash script to parse windows links

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
xode0000
Level 1
Level 1
Posts: 5
Joined: Tue Mar 07, 2023 5:34 pm

WINE file open/save dialog using bash script to parse windows links

Post by xode0000 »

I have bash scripts that can read windows links and open the target file and/or folder. I've been able to get Wine file explorer to call those bash scripts so it can now work with windows links. However, from mspaint using the open/save file dialog, when I try to access a windows link that points to a folder I get an error as shown below. If the windows link points to a file that mspaint can open, mspaint will open that file. What changes and/or additions do I need to make to the registry to have the Wine file open/save dialog be able to navigate windows links pointing to folders and go to the folder the windows link points to?
Screenshot_2023-09-08_13-39-44.png
Screenshot_2023-09-08_13-39-44.png
Attachments
Screenshot_2023-09-08_13-41-38.png
Screenshot_2023-09-08_13-41-38.png (5.5 KiB) Viewed 13196 times
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE file open/save dialog using bash script to parse windows links

Post by jkfloris »

It looks like you're experiencing bug 49498.
xode0000
Level 1
Level 1
Posts: 5
Joined: Tue Mar 07, 2023 5:34 pm

Re: WINE file open/save dialog using bash script to parse windows links

Post by xode0000 »

jkfloris wrote: Mon Sep 11, 2023 9:03 am It looks like you're experiencing bug 49498.
Apparently nothing has changed for that bug since it was first reported in 2020. Is it possible to work around that bug by having the Wine file open/save dialog call a bash script on a link. I had a similar problem with the Wine file manager and was able to get it to call a bash script for windows links by changing the registry.

Sometimes, I also get the error "access denied for..." and then it lists the target folder hen I double click on a windows link in the Wine open/save dialog.
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: WINE file open/save dialog using bash script to parse windows links

Post by jkfloris »

Unfortunately, I don't know a workaround for the problem.

You could reply to the bug and confirm that the issue is still relevant. This brings the bug back to the attention of the developers.
Locked