Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: 32 bit app can only read files under its own directory?

04 Jan 2010   #1

32 bit app only reads files in own directory in 64 bit?

I have an exe I wrote which works fine on 32 bit OSes. However my users who run 64 bit windows 7 tell me that it's only able to read files under the directory where the exe is installed. If they use the exe to read a file anywhere else on the file system is throws an error.

I am assuming this has something to do with security but I don't know how to get 64 bit windows to pop up a screen or something to give the user a chance to give the exe permission to read files outside its own directory.

Any ideas on this?

One thing I've tried which didn't work was to copy a config xml file into the same directory as the exe called myExe.exe.config which contained the following:

<?xml version="1.0" encoding="UTF-8" standalone="yes"/>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<v3:trustInfo xmlns:v3="urn:schemas-microsoft-com:asm.v3">
<v3:requestedExecutionLevel level="highestAvailable"/>

The users reported that had no effect. How can I fix this?

My System SpecsSystem Spec

04 Jan 2010   #2

Windows 7 & Windows Vista Ultimate

Hi, userdude. I think you will have better luck getting help at the MSDN forums:
My System SpecsSystem Spec

 32 bit app can only read files under its own directory?

Thread Tools

Similar help and support threads
Thread Forum
Folder read only and want all files placed in to become auto read only
Creating a new Folder as read only and would like to have all files placed into that new Folder become read only as they are added or moved into that read only Folder. If Windows 7 cannot handle this is there any kind of software utility Haddon I can get to perform this task?
General Discussion
How to restrict user write/read permissions for a specific directory
How do I enforce a standard user such that he/she can create files/folders within a specific directory (e.g., Desktop directory)? Any write access to the other directories should be denied.
General Discussion
Cygwin fails to read directory - setting up SSH Server
Hey guys, Just after some advice. I'm setting up a personal SSH server following this guide: Geek to Live: Set up a personal, home SSH server I'm up to the step where I connect to the server. The only step that I've skipped is changing the protocol from 1,2 to 2 because I couldn't find...
Network & Sharing
Current working directory is read-only
Hello forums I recently re-installed windows and I am installing back my previous programs. I put the OS and programs on a SSD in C: and users files on an HDD in D: I tried to open a program which has a program file, and separate files it uses for data. (It is a book type reader program and the...
General Discussion
Replace files in multiple directory, from a single directory
I have a 10 files that have all been categorised into about 40 folders. These files have been damaged. I have a backup of all these files, but they are not categorised and sit in a single directory. Does anyone know of an easy technique to batch replace the damaged files with the originals? ...
General Discussion
Read-only files in My games?why can't I get read-write permission
I've installed fallout but can't get it to run,seemingly because my DOCUMENTS library won't turn off read-only status for My games (or anything else). I've run through ownerships+permissions as best I can but I can't get rid of read-only,which seems VERY odd for a documents folder ;Can anyone...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

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

Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App