Tutorials Home
What's New
Top Rated
Submit
myTutes
Random!
Batch Files : Creating .bat files for CD
Author: William Glenn
| Website: http://www.skyhighstudios.com |
Batch files are useful for all kinds of different tasks. In this two part tutorial we will firstly look at how you make a batch file to 'explore a cd'. Then in the second installment we will look at how we can employ a batch file to open a text file with the default program'. After reading these tutorials you will be able to experiment with batch files and create your own. So let's begin.
To create a .bat that will explore a directory:
1. Open up Notepad and type in:
start
@ECHO OFF
explorer D:\
The 'explorer D:\' line tells the program to start windows explorer and browse
the D:\ drive, you can always specify a directory to explore also eg. D:\images\mypic
etc, for any directory you want to explore.
2. Save type as an "All Files (*.*)" with the filename of your choice
ending in .bat, I chose mydoc.bat.
3. In your flash movie you can run this program by putting the following code
into a symbol.
On (Release)
FS Command ("Exec", "mydoc.bat")
End On
| » Level Intermediate |
|
|
Added: : 2000-03-08
Rating: 7.04 Votes: 58
Hits: 10935
|
| » Author |
|
No Information Given
|
| » Download |
|
Download the files used in this tutorial.
|
|
Download (0 kb)
|
|
Get conversion and unzipping tools
for PC and Mac here!
|
| » Forums |
|
More help? Search our boards for quick answers!
|
|
Please rate this tutorial, 10 is the top rating, you can also click the
comments link to read/write a review.
|
|
|