0% found this document useful (0 votes)
98 views4 pages

How To Make Batch File

How to Make Batch File
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
98 views4 pages

How To Make Batch File

How to Make Batch File
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Home Free help Contact Links Tips Dictionary Forums

Search Other Pages


Home Site map Computer help Dictionary News Q&A What's new

Information on batch files

Tools
E-mail this page Print Pre iew E!it this page

Quick links "atch #ile A"Cs Creating a $atch #ile "atch comman!s "atch #ile e%amples &echnical support De$ug 'outines

0n!e% Category:
(S-D)S

Companies:
(icroso#t

Batch file ABCs


"atch #iles allow (S-D)S an! (icroso#t Win!ows users to create a lists o# comman!s to run in se*uence once the $atch #ile has $een e%ecute!+ ,or e%ample- a $atch #ile coul! $e use! to run #re*uently run comman!s- !eleting a series o# #iles- mo ing #iles- etc+ A simple $atch #ile !oes not re*uire any special programming s.ills an! can $e !one $y users who ha e a $asic un!erstan!ing o# (S-D)S comman!s+ A goo! e%ample o# a $atch #ile #or someone who is more #amiliar with Win!ows or the (ac)S is to thin. o# a $atch #ile as a shortcut in Win!ows or an icon on the (ac)S+ (uch li.e a shortcut- $atch #iles coul! $e use! to run one or more comman!s an!/or programs through the comman! line+ Another e%ample o# a ery well .nown $atch #ile is the autoe%ec+$at- which is a simple $oot #ile loa!e! each time the computer is loa!e! on (S-D)S an! early Win!ows computers+ &his $atch #ile containe! all the necessary comman!s an! programs use! to run (S-D)S an! Win!ows each time the computer $oote!+

Relate Pages: 'esol e! Were you a$le to locate the answer to your *uestions1

2es No

3)NE ECH) 2)4 HA5E P'ESSED )NE 3END

!o" to start #in o"s files an other programs from a batch file
&o run (icroso#t Win!ows programs or #iles use the S&A'& comman!+ &he $elow e%ample woul! run Win!ows Notepa!+ S&A'& /(A6 N)&EPAD 2ou can also speci#y the !irect location o# the #ile $y typing the $elow comman!+ S&A'& /(A6 C37Win!ows7N)&EPAD+E6E 8Win!ows users who ha e a !i##erent !irectory 9e+g+ Win!ows :;;; users< woul! nee! to su$stitute W0NN& or the name o# their !irectory in place o# Win!ows in the a$o e e%ample+ &he /m representing it to start the win!ow (a%imi=e!+ See our start comman! page #or a!!itional in#ormation a$out this comman!+

Creating a batch file elay


"elow is an e%ample o# how to !elay a $atch #ile any where #rom > to ?? secon!s+ 0n the $elow e%ample we illustrate a > secon! !elay+ &2PE N4@ A CH)0CE+C)( /N /C2 /&2-> BN4@ A!!itionally- you coul! use the sleep #ile #oun! on our utility !ownloa! section+

!o" to make a time log in a batch file


&he $elow e%ample !emonstrates how to create a time log o# when the $atch #ile is loa!e!- or #or e%ample- this coul! $e use! in the autoe%ec+$at when someone logs into a computer that supports this #ile+ ECH)+ A&0(E B &0(E C)P2 @)C D&0(E An alternate- slightly more complicate! metho! that- to our

Home - Computer help - Contact - Dictionary - @in.s @in. to Computer Hope - "oo.mar. Computer Hope
Copyright E??F-:;;F $y Computer Hope 9tm<+ All rights reser e! @egal Disclaimer - ESD Warning - Pri acy Statement

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy