Win 7 .Bat installation advise / help

lordkit

New member
Local time
8:30 PM
Messages
1
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,
Ket:D
 

My Computer

OS
Windows 7 Enterprise Edition
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home Built desktop, Dell G15 5511 Gaming laptop,MS Surface Pro 7 tablet
OS
W10 Pro desktop, W11 laptop, W11 Pro tablet (all 64-bit)
CPU
3.7Ghz 8700K i7, i7-11800H, i7-1065G7
Motherboard
ASUS TUF Z370-Pro Gaming in desktop
Memory
16G desktop, 16G laptop, 4G tablet
Graphics Card(s)
AMD Radeon RX580, RTX 3060, Intel Iris Plus
Sound Card
High Definition Audio (Built-in to mobo)
Monitor(s) Displays
Samsung U32J59 32" (2x), 15.6", 12"
Screen Resolution
3840x2160, 3840x2160, 1920x1080, 2160x1440
Hard Drives
500G SSD for OS; 2T, 10T & 15T HDDs for Data on Desktop, 1TB SSD laptop, 128G SSD tablet.
PSU
Corsair CX 750M
Case
Antec 100
Cooling
CM 212+
Keyboard
IBM Model M - used continuously since 1986
Mouse
Microsoft Pro IntelliMouse
Internet Speed
400M down 8M up
Antivirus
Windows Defender
Browser
FireFox
Other Info
Built my first computer (8Mhz 8088cpu, 640K RAM, 20MB HDD, 2 360K floppy drives) in 1985 and have been building them for myself, relatives and friends ever since.
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 Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Lenovo IdeaCenter 450
OS
Windows 10 Pro X64
CPU
Intel Quad Core i7-4770 @ 3.4Ghz
Memory
16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
Graphics Card(s)
Intel Integrated HD Graphics
Sound Card
Realtek HD Audio
Monitor(s) Displays
HP 22" LCD
Screen Resolution
1680 x 1050
Hard Drives
250GB Samsung EVO SATA-3 SSD
2TB Seagate ST2000DM001 SATA-2
1.5TB Seagate ST3150041AS SATA
Keyboard
Dell USB
Mouse
Lenovo USB
Internet Speed
Cable via Road Runner 3MB Upload, 30MB Download
Antivirus
Windows Defender, MBAM Pro, MBAE
Browser
Seamonkey
Other Info
UEFI/GPT
PLDS DVD-RW DH16AERSH
Back
Top