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

W10 Pro desktop, W10 laptop, W10 laptop, W10 Pro tablet (all 64-bit)

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 10 Pro 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
Thread Forum
Win 7 installation plan for rebuilt computer - please review/advise.
Current machine is 5 years old, running Win7 Ultimate 32 bit. Doing a hardware refresh after a lightning strike fried some components. (note: system specs is for the replacement equipment) Downloaded 64 bit Win7 Ultimate +SP1 and made UEFI compatible USB sticks of that as well as 64bit Win7...
Installation & Setup
Need Advise
my specs are intel core 2 quad q6600 2.4 Ghz radeon hd 6670 ddr5 1gb asus motherboard gmx946 s2 2GB ram 500 Gb hdd 400w psu my budged is limited up to 100 euros and need advise about what should upgrade in my system to avoid bottlenecking this mobo supports up to 2gb and i think thats...
Hardware & Devices
Little advise please !!!!
I have the following configuration on my home pc : Windows 7 , 32-bit Intel Core 2 Duo E7300 2.66 GHz 2 GB RAM Can anyone suggest a good graphics card for the above config ??? I was thinking nVidia but not so sure. Any suggestion is appreciated. Thanks.
Graphic Cards
Could you please advise me as to which one to use?
Like a member a couple of days ago, I am new to virtualization. However, very interested. The transgression from Vista to Windows7 leaves no regrets. From XP to both does a little. Some of my portables wont work, I cant access to some of my files (despite being admin with the necessary...
advise on what and how should i do?
alright, i just tested windows 64bit on my macbook and i must say it looks very promising(much better than the vista running on my desktop). i will try to make it simple, hope you guys can provide me a solution.. :D I have 3HDD on my desktop, HDD(1), have four partition and my windows vista is...
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 20:47.
Twitter Facebook Google+