Home / Microsoft / Microsoft DOS / Boot
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] - (Bottom) Print
Author Topic: Boot  (Read 766 times)
almn
Guest
« on: June 10, 2006, 08:47:54 PM »

Hello,

I would like to know how to run a batch file when I boot or boot from a batch file.

Thank You

Almn
IP logged
ghostdog74
Mentor



Thanked: 26
Posts: 1,511


« Reply #1 on: June 10, 2006, 09:32:41 PM »

give  a more concrete example of what you want to do...
IP logged

almn
Guest
« Reply #2 on: June 11, 2006, 06:43:57 AM »

I thought my example was prettyclear but basicily I am trying to make a disk that boots then runs my batch file which is compiled in an exe by the way. So I get you could look at it as a DOS Operating System.

Thank You

Almn
IP logged
GX1_Man
Moderator
Mastermind


Thanked: 23
Posts: 18,215

Because beige is beautiful !!!

« Reply #3 on: June 11, 2006, 07:48:46 AM »

What operating system are you planning to boot into? Win2000/XP does not run on top of DOS.
« Last Edit: June 11, 2006, 07:49:52 AM by GX1_Man » IP logged

Please post as much information about your computer, operating system, and problem as possible, what happened prior to problems, etc. Too much info is OK, too little is pointless! Don't just say "My computer doesn't work. What's wrong?"
ghostdog74
Mentor



Thanked: 26
Posts: 1,511


« Reply #4 on: June 11, 2006, 07:53:25 AM »

Quote
I thought my example was prettyclear but basicily I am trying to make a disk that boots then runs my batch file which is compiled in an exe by the way. So I get you could look at it as a DOS Operating System.

Thank You

Almn
although i don't know what exactly you are doing, but nonetheless, you can type something like "create windows boot disk" in google  and there are sites that shows you how to make boot disk. After creating your boot disk, put your compiled exe in it and off you go.
IP logged

GuruGary
Adviser



Posts: 771




« Reply #5 on: June 11, 2006, 02:51:52 PM »

If you are running off a "DOS" boot disk, then you would call your program from a line in the AUTOEXEC.BAT file.  Using an example of a boot floppy disk running DOS, and your program is called "MyBat.exe" in the root of the floppy,  you would do:
AUTOEXEC.BAT
Code: [Select]
MyBat.exe
If you are running Windows, and want it to start automatically at the launch of Windows, put it in the STARTUP folder under Start Menu.  Put it under "All Users" if you want it to run when any user logs in, or under the specific user(s) if you want it to run for just certain users.  Example would be to copy your MyBat.exe to "C:\Documents and Settings\All Users\Start Menu\Programs\Startup"
IP logged
wingsrule33
Guest
« Reply #6 on: June 12, 2006, 10:40:05 PM »

Ok hello everyone my problem is a simple one i hope.  Please help me.  My friend gave me an old computer if his, daid it was mine as long as i nuked the hard drive, awsome so i did.  unfortunately he doesn't have a restore disk for it and i dont either.  So i need to install an operating system on it.  i have a Windows Millenium edition CD, but no way to access it.  I created a boot disk using our family XP machine, but i dont know how to use DOs and get past the screen the pops up when i turn on the downed machine.  How to i either A) install windows ME  using the cd or B)simply use DOS.
IP logged
GX1_Man
Moderator
Mastermind


Thanked: 23
Posts: 18,215

Because beige is beautiful !!!

« Reply #7 on: June 13, 2006, 04:15:14 AM »

wingsrule, it is better to start your own topic, rather than hijack someone else's thread, but you do need to download a WinME boot disk (free at www.bootdisk.com) and then boot with that and then type in

format c:/u/s  and press enter
fdisk/mbr       and press enter
e:\setup         and press enter

that will start the install.

If you can't go from here, please do start your own thread in the Windows forum.
IP logged

Please post as much information about your computer, operating system, and problem as possible, what happened prior to problems, etc. Too much info is OK, too little is pointless! Don't just say "My computer doesn't work. What's wrong?"
wingsrule33
Guest
« Reply #8 on: June 13, 2006, 06:40:15 PM »

SOrry will do.
IP logged
Pages: [1] - (Top) Print 
Home / Microsoft / Microsoft DOS / Boot « previous next »
 


Login with username, password and session length

Old Forum Search | Forum Rules
Copyright © 2010 Computer Hope ® All rights reserved.
Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
Page created in 0.11 seconds with 20 queries.