Windows 7 Forums


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

Windows 7 Ultimate 64bit (Build 7600)
Wales
 
 

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
file.
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.
echo set PROCESSOR=Alpha_AXP - For Windows NT Alpha based machines.
echo.
echo set PROCESSOR=MIPS_R4000 - For Windows NT MIPS based machines.
echo.
echo set PROCESSOR=INTEL_486 - For Windows NT Intel based machines.
echo.
echo set winbootdir=<boot dir> - For Windows 95/98 machines.
echo.
exit
My System SpecsSystem Spec
.


Reply

 batch files problems?



Thread Tools



Similar help and support threads for: batch files
Thread Forum
batch renamming files General Discussion
Solved Batch files and UAC System Security
Are batch files allowed? General Discussion


All times are GMT -5. The time now is 01:56 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32