Mapped a Drive to a folder and get File Access Denied from a program trying to access it

I'm using Windows 7 Home Premium. I mapped the drive G: to a c:\users\public where there exists a folder called \locks

Windows 7 gives me a File Access Denied error when I try to set g:\locks as the value for Borland's BDEAdmin.exe Paradox NET DIR parameter.

I've tried running BDEAdmin.exe under the administrator context. I've changed the User Access Control settings. Also, it can't be mapped to c:\users\public\locks for other reasons.

Any thoughts on what I need to change to that I can set this Parameter
Who is Participating?
RCM01Connect With a Mentor Author Commented:
@ded9  - appreciate the thought but this isn't a programming issue
@Davis - This is all on  the same Windows 7 Home Edition x64 machine. The program is being denied access to a shared folder on the same machine
@mtz - Home Group sharing is off. I found a workaround by putting the share on another machine entirely and having all workstations point to the share on the other machine. I'll try and see if your suggestion is also a workaround. Is there something about the Users path that can't be shared?
Check with the mods to add you question to programming zone.

Davis McCarnOwnerCommented:
What O/S is running on the system with the shared folder and are you using AD?
You are having a permissions problem on the host which we need to fix.
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Marc ZCommented:
Try creating a different folder not in the Users path and sharing that. You may also need to confirm your Network and sharing control panel - is Home Group sharing on or off?
Marc ZCommented:
I'm not familiar with Borland's BDEAdmin.exe Paradox NET DIR parameters, however i found this here.
Feedback from user....

My suspicions were correct and that is that C: drive cannot be written to and therefore the file cannot be generated at run time.
Allan was also correct with his hypothesis Forward this email and pass on my best regards.
Tell him for his other clients that he needs to to the following as HE INSTRUCTED:
1. On VISTA navigate to C:\Program Files\Common Files\Borland Shared\BDE and start up BDEAdmin.exe
2. Navigate to Configuration/Drivers/Native Tab
3. Highlight PARADOX and then change NET Dir from C:\ to C:\Users\<user>\Documents where user is the administrator user of the machine
4. The PDOXUSRS.NET file will be generated at run time in C:\Users\<user>\Documents and Pro.exe will open without error.

Kind of the same info here:
Marc ZCommented:
hope it helps.
RCM01Author Commented:
I'm not sure why I'm being asked to comment on my own comment
RCM01Author Commented:
I wasn't able to test the last suggestion and the work around solved the problem even if not well
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.