How to find out, if a prefix is 32 bit or 64 bit?

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Post Reply
sibare
Level 2
Level 2
Posts: 15
Joined: Tue Apr 14, 2020 1:42 pm

How to find out, if a prefix is 32 bit or 64 bit?

Post by sibare » Wed Apr 15, 2020 2:38 am

Hello

I have already searched in man page. But I did not find anything.
When I have a prefix: How can I the check, if it is a 32 bit prefix or a 64 bit prefix? Is there any command?

Thank you.

User avatar
dimesio
Moderator
Moderator
Posts: 12841
Joined: Tue Mar 25, 2008 10:30 pm

Re: How to find out, if a prefix is 32 bit or 64 bit?

Post by dimesio » Wed Apr 15, 2020 5:45 am

Look for a /windows/syswow64 directory in the wineprefix. If it exists, the wineprefix is 64 bit; if it doesn't, it's 32 bit.

sibare
Level 2
Level 2
Posts: 15
Joined: Tue Apr 14, 2020 1:42 pm

Re: How to find out, if a prefix is 32 bit or 64 bit?

Post by sibare » Wed Apr 15, 2020 7:26 am

Thank you. :-)

spoon0042
Level 5
Level 5
Posts: 359
Joined: Thu Dec 24, 2009 11:00 am

Re: How to find out, if a prefix is 32 bit or 64 bit?

Post by spoon0042 » Wed Apr 15, 2020 3:51 pm

Or 'head -4 $WINEPREFIX/system.reg' will show either #arch=win32 or win64.

sibare
Level 2
Level 2
Posts: 15
Joined: Tue Apr 14, 2020 1:42 pm

Re: How to find out, if a prefix is 32 bit or 64 bit?

Post by sibare » Thu Apr 16, 2020 2:45 pm

Was successful. Thank you @spoon0042.

Post Reply