| |
HTML
Java
VB

Registry
|
|
|

Special Thanks to Ours Sponsor's
How to become a sponsor
|
Batch File's How To:
Batch files allow a lists of commands
and/or programs to run once. A batch file
can run commands, delete files,
move files, copy files etc. A batch file
requires relatively no knowledge of programming
and can be done thru
DOS commands. |
CREATING A BATCH
FILE
DOS &
Windows
Users
DOS Users
Create a basic batch file in DOS
follow the below is an example of
creating a batch file.
- Open DOS command
prompt window.
-
Once at the prompt type: edit
testbatch.bat and press enter.
-
You now be
in a blue screen. Type:
pause
dir c:\windows
dir c:\windows\system
-
Now
select File, and
exit, when prompted to
save choose Yes. You can
also use the keyboard by
pressing ALT+F, then pressing X to
exit and save
changes.
-
Once back at the
prompt type testbatch and
enter. This will start the
testbatch.bat file you
created and run the script you
type in it. You will first
be prompted to press a key
Because the first line in your
command is pause. The
batch file will list down the files in windows and windows\system
directory.
To
add more commands to the
batch file type
edit testbatch.bat.
Microsoft Windows and other users
Window's user's can use
a DOS prompt or if your use to Windows you can use
a text editor like notepad as long as the
file extension ends with .bat
instead of .txt.
-
Click
Start
-
Click Run
-
Type "notepad" and enter.
-
Type the
lines below into your file or
copy and
paste into
your notepad file.
_________________________
@echo off
echo Hello Testing batch
files
pause
dir c:\windows
_________________________
-
The
Click File and click Save,
Remember where you saved
the file. Now exit notepad.
-
To run
your batch file Double-click or run the file
from your dos prompt or cmd
line. Once it has finished
running the script you wrote it
will close automatically unless
your using a DOS prompt.
|
|
Member of the EyeTweaks Network, We just keep on Tweaken!TM
CoolDisks.com All copyrights apply.(C) |
|
Contact Us
| | | | |