LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-27-2022, 07:51 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
WINE / FileSystem issues


Hello,
when I start wine for the exe program of the zip in the link https://hp.giesselink.com/HPIL/ilper2.4.zip
I can access the HDRIVE1.DAT with that program (which was from the same zip expanded into a directory; the same directory where the exe is).
If I copy that file on my Debian11 64bits ext4 home partition area Downloads, and rename it, and place it back at the same area of HDRIVE1.DAT, then the newly named file is not accessible and an error appear:
Code:
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
If anybody has an idea where it is coming from and why a copied file have a different behaviour than the original file (the original file has no error and can be read)?.
 
Old 02-28-2022, 08:15 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Wine understands unix file names. I never try making up windoze filenames, like this one: env WINEPREFIX="/home/dec/.wine" /usr/bin/wine C:\\windows\\command\\start.exe /Unix /home/dec/.wine/dosdevices/c:/users/Public/Desktop/English\ -\ Watchtower\ Library.lnk[/CODE] It's also worth saying that Desktop & Downloads in your wine dir are symlinks to the same things in your home dir.

That said, let's debug your filename
Code:
 L"\\??\\Z:\\"
The characters in red should never appear in a windows filename, which should be a letter for the drive, followed by directories & filename. You have two drive names.

Why not modify the drive in wine. Can you?
 
Old 02-28-2022, 09:54 PM   #3
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 83
I get that a lot too.
It doesn't get in the way.

In folder
/home/dec/.wine/dosdevices/

there is a symlink
c: ==> /home/dec/.wine/drive_c/

there is a symlink
z: ==> /

Why is z: pointing to / ?

If you want change it to /home or /home/dec (or whatever your username is)
 
Old 03-01-2022, 03:57 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by vmelkon
Why is z: pointing to / ?
Wine takes filenames in M$ & Unix formats, and every user's individual .wine dir is ~/.wine. So Z:\\ replaces the leading '/' on a unix filename and lets you get out of the homedir and into the linux filesystem - the dvd drive, for instance. so "wine z:\\mnt\\cdrom\\setup.exe" = "wine /mnt/cdrom/setup.exe"
 
Old 03-01-2022, 06:53 PM   #5
vmelkon
Member
 
Registered: Feb 2007
Location: Canada
Distribution: Kubuntu 22.04
Posts: 549

Rep: Reputation: 83
Quote:
Originally Posted by business_kid View Post
Wine takes filenames in M$ & Unix formats, and every user's individual .wine dir is ~/.wine. So Z:\\ replaces the leading '/' on a unix filename and lets you get out of the homedir and into the linux filesystem - the dvd drive, for instance. so "wine z:\\mnt\\cdrom\\setup.exe" = "wine /mnt/cdrom/setup.exe"
OK, that explains it.
If I change the Z; symlink and make it point to /home or /home/my_user_name, the WINE messages disappear but I put it back to the way it was since sometimes, I install things from DVD.
 
Old 03-02-2022, 05:45 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
I'm sure you can point one of the broken symlinks in ~/.wine/dosdevices to your homedir without doing any damage. And you can probably mark this solved.
 
Old 03-05-2022, 07:18 AM   #7
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by vmelkon View Post

there is a symlink
z: ==> /

Why is z: pointing to / ?

If you want change it to /home or /home/dec (or whatever your username is)
I cannot remember why Z was set to point to /. I must have a look again on my previous wine installation.
How to change Z pointing to "/home/user_me" ?
 
Old 03-05-2022, 11:00 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by floppy_stuttgart View Post
I cannot remember why Z was set to point to /. I must have a look again on my previous wine installation.
How to change Z pointing to "/home/user_me" ?
Try post #4.
 
Old 04-09-2022, 02:18 PM   #9
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
So far, all ok.
Starting the program with
Quote:
exec wine '/home/user/.wine/drive_c/Program Files (x86)/HP-Emulators/ILPER/ilper.exe' '/start' 'Z:\\ILPer1.vil' &
with
Quote:
I:\\HDRIVEI.DAT
in an entry field dont make the errors appearing. Looks like it work.
Thanks to everybody for the advices.
 
Old 04-12-2022, 12:09 PM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,260

Rep: Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321Reputation: 2321
Quote:
Originally Posted by floppy_stuttgart
exec wine '/home/user/.wine/drive_c/Program Files (x86)/HP-Emulators/ILPER/ilper.exe' '/start' 'Z:\\ILPer1.vil' &
It won't like that, I imagine. Does this

Code:
exec wine '/home/user/.wine/drive_c/Program\ Files\ \(x86\)/HP-Emulators/ILPER/ilper.exe' '/start' 'Z:\\ILPer1.vil' &
do any better?
 
Old 04-15-2022, 08:46 AM   #11
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Sorry but it does.

Quote:
exec wine '/home/user/.wine/drive_c/Program Files (x86)/HP-Emulators/ILPER/ilper.exe' '/start' 'Z:\\ILPer1.vil' &
works. It starts.

Quote:
exec wine '/home/user/.wine/drive_c/Program\ Files\ \(x86\)/HP-Emulators/ILPER/ilper.exe' '/start' 'Z:\\ILPer1.vil' &
dont work. Output:
Quote:
[1] 3598
(base) user@ProDesk:~$ wine: cannot find '/home/user/.wine/drive_c/Program\ Files\ \(x86\)/HP-Emulators/ILPER/ilper.exe'
 
  


Reply

Tags
debian, ext4, fat, wine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Game Editor with WINE couple issues. (with /lib in linux, and window size in wine) Hevithan Linux - Newbie 1 05-23-2011 01:52 PM
Wine Wine Wine asumofparts Linux - Software 3 10-02-2010 02:29 PM
A wine question: Theming wine or changing wine's colour scheme PatrickMay16 General 8 12-17-2006 06:53 AM
Link targets - problems with Wine (Though not Wine specific - Wine site doesn't help) Kevjml Linux - Newbie 1 01-13-2006 07:53 AM
Wine, Wine, Wine!! Wolf Linux - Software 1 01-20-2003 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration