I recently set up a new Windows 7-64 PC to replace my current XP setup. A lot of the programs I use are 32-bit and so were installed in the Program Files (x86) folder by default. Unfortunately this has caused an unforeseen problem with most of my batch programs, scripts, macros, etc. that reference the x86-less path. Rather than tracking down and rewriting all these references, I am wondering if it would be more practical to reinstall to the Program Files path instead. Would this cause any problems with the OS? Will Office 2010 fight this alternate path?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Installing 32-bit software on a Windows7-64 PC
Home » Forums » AskWoody support » Windows » Windows 7 » Questions: Windows 7 » Installing 32-bit software on a Windows7-64 PC
- This topic has 7 replies, 6 voices, and was last updated 12 years, 1 month ago.
AuthorTopicWSd_rasley
AskWoody LoungerApril 11, 2013 at 2:58 pm #488745Viewing 5 reply threadsAuthorReplies-
RetiredGeek
AskWoody_MVPApril 11, 2013 at 3:14 pm #1387110Should work just fine. Actually I’m surprised they went in the (x86) folders most old programs want to install in the straight Program Files folder. HTH :cheers:
-
MrJimPhelps
AskWoody MVPApril 11, 2013 at 4:20 pm #138714132-bit drivers won’t work with 64-bit Windows. But I haven’t heard that 32-bit programs won’t work.
If you have 32-bit Windows, you don’t have any of these compatibility issues. But there are a few trade-offs:
* The system is potentially slower than if it was 64-bit.
* 32-bit Windows 7 maxes out at 4 GB of RAM; 64-bit Windows 7 has a much higher maximum on RAM.
* I believe there is a 2 TB limit on hard drive partitions with 32-bit Windows 7; you can go a lot bigger with 64-bit Windows 7.Group "L" (Linux Mint)
with Windows 10 running in a remote session on my file server -
BATcher
AskWoody_MVPApril 12, 2013 at 2:57 am #1387295I have a LOT of 32-bit software on our Windows 2008 64-bit server and on my 64-bit Windows 7 PC at home.
In BATch files, you can simply check what environment variables have been set up and choose the one appropriate to the bittedness of the program, and modify the BATch file.
On my Windows 7 PC
SET PROGRAM in a Command Prompt window gives
ProgramData=C:ProgramData
ProgramFiles=C:Program Files (x86)
ProgramFiles(x86)=C:Program Files (x86)
ProgramW6432=C:Program FilesI really wouldn’t suggest you try, on a 64-bit machine, to install 32-bit programs in C:Program Files. Quite probably Microsoft chose to set up C:Program Files (x86) for a reason?!
BATcher
Plethora means a lot to me. -
WSd_rasley
AskWoody LoungerApril 12, 2013 at 9:06 am #1387346The problem is with the batch files and such. The paths to the programs are hard-coded to a their XP-style path, C:Program Files…, so that the command line is built to execute the program with the file to open/run as an argument. The default installation on the new pc defaulted a lot of the programs I use to the 32-bit program files path, C:Program Files (x86). This invalidates nearly every batch file, script, etc. I have set up; it’s like my version of ‘Y2K’. None of my automations will run on the new pc because of this path issue; once I re-write the programs to use the new (x86) path they won’t work on my current pc; once I being the changeover everything has to be revised in one non-stop process. Or the programs can be re-installed to the path my automations expect.
With my experience with prior versions Windows, changing the install path has nearly always been an option during installation, and Windows has been compliant with non-standard locations. This 32/64 dual-path setup is relatively new to me, and I do understand there was probably a good reason for this split.
-
-
joep517
AskWoody MVPApril 12, 2013 at 10:51 am #1387369I recommend you do NOT install 32-bit programs in the 64-bit “program file” path. Many programs supply both 32-bit & 64-bit versions. Some have fodlers in the 64-bit path while the main program is still 32-bit.
Yes, it will be time consuming and painful but you are much better off biting the bullet and modifying your batch runstreams to determine the OS and set a variable to the correct path.
Joe
--Joe
-
BATcher
AskWoody_MVPApril 12, 2013 at 2:49 pm #1387458You could probably sort this out with a change to your current program invocation line, perhaps as follows:
Assume that your program invocation line is
Code:"C:Program Filessomedirsomeprog.exe"
then change it to
Code:if exist "C:Program Filessomedirsomeprog.exe" ( "C:Program Filessomedirsomeprog.exe" ) else ( "C:Program Files (x86)somedirsomeprog.exe" )
Of course you may want to make the test the other way round, and it assumes that the required file “someprog.exe” exists only in the 64-bit Program Files OR in the 32-bit Program Files.
Since you seems to be very familiar with BATch files, then you may come up with a better mechanism!
BATcher
Plethora means a lot to me. -
bbearren
AskWoody MVPApril 12, 2013 at 5:26 pm #1387507When it all comes down to it, “C:Program Files” is just a folder. You can install anything you want there. It won’t break Windows, and it won’t break whatever you’re installing (if it will install in Windows 7 at all).
Always create a fresh drive image before making system changes/Windows updates; you may need to start over!We all have our own reasons for doing the things that we do with our systems; we don't need anyone's approval, and we don't all have to do the same things.We were all once "Average Users".
Viewing 5 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Trump signs Take It Down Act
by
Alex5723
44 minutes ago -
Do you have a maintenance window?
by
Susan Bradley
1 hour, 10 minutes ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 hours, 18 minutes ago -
Success Knows No End in the World of Online Slots (Awaiting moderation)
by
isobelhartmann1
2 hours, 27 minutes ago -
Cox Communications and Charter Communications to merge
by
not so anon
4 hours, 4 minutes ago -
Help with WD usb driver on Windows 11
by
Tex265
9 hours, 13 minutes ago -
hibernate activation
by
e_belmont
12 hours, 59 minutes ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
16 hours, 47 minutes ago -
Windows 11 Insider Preview build 26200.5603 released to DEV
by
joep517
19 hours, 51 minutes ago -
Windows 11 Insider Preview build 26120.4151 (24H2) released to BETA
by
joep517
19 hours, 53 minutes ago -
Fixing Windows 24H2 failed KB5058411 install
by
Alex5723
2 minutes ago -
Out of band for Windows 10
by
Susan Bradley
1 day ago -
Giving UniGetUi a test run.
by
RetiredGeek
1 day, 7 hours ago -
Windows 11 Insider Preview Build 26100.4188 (24H2) released to Release Preview
by
joep517
1 day, 15 hours ago -
Microsoft is now putting quantum encryption in Windows builds
by
Alex5723
1 hour, 13 minutes ago -
Auto Time Zone Adjustment
by
wadeer
1 day, 19 hours ago -
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
1 day, 17 hours ago -
Manage your browsing experience with Edge
by
Mary Branscombe
21 hours, 55 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
10 hours, 21 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
16 hours, 45 minutes ago -
Apps included with macOS
by
Will Fastie
14 hours, 37 minutes ago -
Xfinity home internet
by
MrJimPhelps
11 hours, 24 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
1 day, 12 hours ago -
Debian 12.11 released
by
Alex5723
2 days, 16 hours ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
2 days, 20 hours ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
1 day, 23 hours ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
3 hours, 35 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
3 days, 13 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
3 days, 3 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 1 hour ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.