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: Windows 7 .bat issues

25 Jun 2013   #1

Windows 7 Home Premium 32bit.
Windows 7 .bat issues

I'm an Access 2007 developer, and recently a .bat file that we have used for years is giving us trouble, but only for Windows 7 users.

The .bat file is:

MKDIR C:\Database
COPY \\serverURL\databaseName.accdb C:\Database\databaseName.accdb
START "MSAccess.exe" C:\Database\databaseName.accdb

We have c:\Database setup as a Trusted Location.

Basically what we have is a Front End Back End set up. The user double clicks the .bat file and it copies the Frontend to the users computer and then opens it. My windows 7 users will run the .bat and login to the database and then whatever button they click, they get a message telling them that they have lost connection with the server and the database closes.

It only occurs to the Windows 7 users. The XP users have no issues with it. The .bat file has worked like a charm for over 5 years. Since the company is slowly switching everyone to Win 7, I need to find a solution to this issue.

Any suggestions would be greatly appreciated. Thanx

My System SpecsSystem Spec
25 Jun 2013   #2
Microsoft MVP

Windows 7 Ult. x64

Are you executing the .bat file with elevated permissions?

Elevated Command Prompt
My System SpecsSystem Spec
25 Jun 2013   #3

Windows 7 Home Premium 32bit.

No I'm not. Since we dont have Admin privileges for the Windows 7 computers, is there another way around this?
My System SpecsSystem Spec

25 Jun 2013   #4
Microsoft MVP

Windows 7 Ult. x64

My System SpecsSystem Spec

 Windows 7 .bat issues

Thread Tools

Similar help and support threads
Thread Forum
Recording issues with recorders (fraps hypercam etc) sound issues
Hey guys, ive lately been making lets play and walkthroughs on youtube and im having a couple of problems. With my headset, in the background while recording thats like a static noise and i cant seem to make it go away, ive tried multiple recording programs like fraps and hypercam but its still...
Win 7 Upgrade-MANY issues!! Search, screen flashing, Outlook issues..
I have recently upgraded from XP to Win 7 and I have encountered so my problems I've lost count... However, I work from home and I need to get these issues worked out NOW... So, I am DESPERATE for answers... 1. Main problem: I have done a full system index 273,852 files and 2 days later...
General Discussion
Windows 7 - Genuine Issues Leading to Unable to Update/Install Windows
Hi, I am a tech idiot and I need help. I appreciate anything anyone can do. For several months I have been getting messages that our windows may not be genuine. It came installed on our Dell and we bought directly from Dell so I basically ignored it. Recently we got a message that it is not...
Windows Updates & Activation
Dhcp issues and network connectivity issues since windows 7 x64 sp1
I reformatted my computer because after installing service pack 1 and other updates from Feb 14th my computer has been having issues getting a dhcp from my router. I have a windows 7 home premium 32 bit laptop that works just fine. I also have a ubuntu machine that pulls an address from this...
Network & Sharing
Windows 7 Ultimate 32bit issues with desktop freezing/ other issues
Hi all, Going to try and make this brief, "try" being the operative word here.. I have a Gateway PC running Windows 7 Ultimate 32 bit 4 gigs of ram but obviously not all useable (yet) Dual core processor Nvidia 9800GT graphics Card Corsair 650 watt PSU HT Omega Striker 7.1 Souncard..
General Discussion
Fix Windows Live Photo Gallery Issues on Windows 7, Vista and XP
Fix Windows Live Photo Gallery Issues on Windows 7, Vista and XP - Softpedia

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 00:08.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App