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: batch files

22 Jan 2010   #1

7 home, pro, etc
batch files

Can I write simple batch files - example - at 3am xcopy server file to workstation a ?

My System SpecsSystem Spec
22 Jan 2010   #2
PooMan UK

Windows 7 Ultimate 64bit

Yep just create the .bat file then use windows "Schedule" to make it run at specific times
My System SpecsSystem Spec
29 Nov 2011   #3

Windows 7 x 64 (probably Pro but I don't know where to check!)
Old Batch File for Windows 7 Doesn't Work

Due to possible proprietary restraints I will only display the beginning of this bat
It worked in XP and we need it for new Windows, I am hoping something can be added to dictate Win 7 OS?

Thanks in advance

@echo off
set MC=unset
if "%PROCESSOR%" == "INTEL_486" set MC=i486_nt
if "%PROCESSOR%" == "MIPS_R4000" set MC=r4000_nt
if "%PROCESSOR%" == "Alpha_AXP" set MC=alpha_nt
if "%PROCESSOR_ARCHITECTURE%" == "x86" set MC=i486_nt
if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set MC=r4000_nt
if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set MC=alpha_nt
if not "%winbootdir%" == "" set mc=i486_win95
if not "%MC%" == "unset" goto mc_done
echo ERROR Cannot detect what machine type you have.
echo Please make one of the following settings:
echo set PROCESSOR=Alpha_AXP - For Windows NT Alpha based machines.
echo set PROCESSOR=MIPS_R4000 - For Windows NT MIPS based machines.
echo set PROCESSOR=INTEL_486 - For Windows NT Intel based machines.
echo set winbootdir=<boot dir> - For Windows 95/98 machines.
My System SpecsSystem Spec


 batch files

Thread Tools

Similar help and support threads
Thread Forum
Using .cmd Batch Files
I use RoboCopy in .cmd Batch files, is there a way to exit like "Exit Sub" in Visual Basic Is it possible to do Visual Basic like Logic Statements? Would it be possible to, within the batch file, determine whether a Drive Letter exists, Then run robocopy if it does?
General Discussion
Batch files?
hello guys im new to this forum. I'm trying to write a simple batch file which copies a couple of files from a network address to mulitple directories on the C:\ of different pc's eg xcopy from lets say A:\source.file to PC1 (directory user 1 folder, user 4 folder, user 7 folder, default)...
General Discussion
batch renamming files
Hi, Does anyone know of a program or a fast way to rename filenames similar to this partial list 1bbea_set01_112432_019.jpg 1mbi5_set01_112432_016.jpg 3ppi_set01_112432_022.jpg 3scst_set01_112432_007.jpg 4chxb_set01_112432_017.jpg 5yvc5_set01_112432_006.jpg
General Discussion
Batch files and UAC
Hi. I have a small issue I hope can be resolved to a desired effect (if possible) Whats happening is, I am using a software, that to be used "correctly" requires a parameter to run correctly (2.0 beta type app) Heres what im looking at: The program is a neato reproduction of the HTC...
System Security
batch files - run as administrator
I am a software developer (dot net). Until recently I did all my work in the XP environment. I developed a utility library that goes into the global assembly cache. In the XP world this was easy. I write some .bat files that called the gacutil.exe and passed it the appropriate parameters. ...
General Discussion

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:38.
Twitter Facebook Google+