There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
black screen blue screen boot bsod computer connection crash css dell display driver drivers email error explorer firefox firefox 3 hard drive internet internet explorer itunes laptop lcd malware monitor network networking nvidia outlook outlook 2003 outlook express password printer problem problems ram router security slow software sound sprtcmd.exe trojan usb video virus vista windows windows xp wireless
DOS/PDA/Other
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > DOS/PDA/Other >
Home work help!!


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
drlove5150's Avatar
Junior Member with 1 posts.
 
Join Date: Oct 2003
01-Oct-2003, 11:08 PM #1
Unhappy Home work help!!
Need help with homework. I need to create a bootable disk in DOS. I have to be able to edit a batch file from this disk. I have to create a batch file that will display the hard drive directory on the screen and display one page at a time.
Squashman's Avatar
Distinguished Member with 12,699 posts.
 
Join Date: Apr 2003
Location: 1265 Lombardi Ave
02-Oct-2003, 12:15 PM #2
Have you done a google search for Dos Batch Files.

From a dos prompt:
format a: /s
Will create a bootable diskette
Or you can download one from:
http://www.bootdisk.com/bootdisk.htm



dir | more
Will dislplay the contents of a directory one screen at a time.
Krall's Avatar
Member with 69 posts.
 
Join Date: Sep 2003
02-Oct-2003, 03:11 PM #3
To make a batch file and edit it from your dos bootable disk, when computer is off, insert bootable disk, turn pc on, at dos prompt (a:\) type the following with out quotes
"edit a:\harddrive.bat" this will open a screen where you can type in the contents for the batch file.

Contents for batch file:

cls
@echo off
ECHO This batch file will display the contents of the hard drive
ECHO one screen at a time.
pause
cd c:\
dir /p
ECHO The preceding was the contents of this computers
ECHO hard drive. Pressing any key will exit this batch file.
pause
exit


type the text above EXACTLY as it appears (spaces and everything) I have tried it and it works perfectly.
once you have the text typed in, press ALT+F, then press S, then press ALT+F, then press X. this will save the file and exit the editor and put you back at the dos prompt. now test your new batch file. at the dos prompt (needs to say A:\) type "harddrive.bat" and press enter. Follow on screen instructions.
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who help people like you solve computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:41 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.