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: Win 7 .Bat installation advise / help

28 May 2012   #1

Windows 7 Enterprise Edition
Win 7 .Bat installation advise / help

Hi All,

I have a .bat file which is working on XP but i cannot seem to get it installed on Windows 7.

This is what the.bat file is doing :
xcopy "O:\Consulting Briefcase\*.*" C:\ProgramData\consulting briefcase\" /s /e /h /y

As you can see it's getting a copy from my O: drive and saving the files to the C:**** location

But it's not saving - even when i run as admin.

Can someone advise is this the correct location to save Windows 7 install / data files?

Thanks in advance,

My System SpecsSystem Spec
28 May 2012   #2

W7 Ult desktop, W8.1 laptop, W7 Home netbook, W8.1 tablet, Win 10 TP VM

Do you get an error when you attempt to run the .bat file?

Several things to check. Do you have an O: drive defined? There is a missing " from the xcopy command, is that a typo or is it missing in the .bat file too?

Where do you have the .bat file saved on your computer? Are you trying to run it from the same folder as where it is saved? If not, is the folder that contains the .bat file listed in your PATH environment variable?
My System SpecsSystem Spec
28 May 2012   #3

Windows 8 Core X64

Open an Elevated Command Prompt and run the command from there, not via a batch file.

xcopy "O:\Consulting Briefcase\*.*" "C:\ProgramData\consulting briefcase\" /s /e /h /y

What response do you get?
My System SpecsSystem Spec

 Win 7 .Bat installation advise / help

Thread Tools

Similar help and support threads for2: Win 7 .Bat installation advise / help
Thread Forum
Solved Win 7 installation plan for rebuilt computer - please review/advise. Installation & Setup
Need Advise Hardware & Devices
Little advise please !!!! Graphic Cards
Need Advise on Laptop Hardware & Devices
Could you please advise me as to which one to use? Virtualization
New Rig. Need advise Hardware & Devices
advise on what and how should i do? Installation & Setup

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 06:35 AM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App