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
jgib

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
Bonesntx

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




Thread Tools





Similar help and support threads
Thread Forum
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
Are batch files allowed?
I ask if .bat files are allowed because I have some software that uses a .bat file to install it's pdf printer (Quicken 2009). It seems the file won't run even as administrator and the compatibility wizard won't touch it. I noticed there might be a registry fix to allow it to run, but if...
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 09:36.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App