Tip & How-To about Computers & Internet


Hello Dos friendsThis is a simple but most forgotton command to createfiles like config.sys and autoexec.bat files, well heres it...Even if u dont have a dos boot disk u can work ur wayto some extent. ******************************************** At c: prompttypecopy con config.sys devicehigh=c:doshimem.sys device=c:dossetver.exe. devicehigh=c:dosemm386.exe ramdos=high umblast drive=z then press CTRL + zpress enter Config.sys file will be created. ******************************************** Similarly u can create autoexec.bat @echo off prompt=$P$Gpath=c:dos; c:lh mouselh doskeyPress CTRL + Z

Posted by on

Computers & Internet Logo

Related Topics:

Related Questions:

1 Answer

stack overflow at line 598

Stacks are reserved memory that programs use to process hardware events. A stack overflow occurs when there is not enough space in memory to run the hardware interrupt routines. To resolve these behaviors, you can modify the "STACKS=" line in the Config.sys file, eliminate terminate-and-stay-resident program (TSRs), and eliminate hardware conflicts.

When Windows delivers an error message that is related to an internal stack overflow, there is not enough space in memory either set aside or available to handle the calls that are made to the computer hardware. There are several things to consider when you troubleshoot this behavior:
  1. The Config.sys startup file may not be properly configured for the Windows installation. Use the following values: STACKS=64,512 ;(this is the maximum allowed)
    BUFFERS=40 If you are using the dual-boot capabilities in Windows, the Config.sys and Autoexec.bat files may not contain the correct configuration to run Windows. When you are dual-booting between Windows 3.x and Windows, these files may not have been renamed back to Config.dos and Autoexec.dos.

    Examine the Config.sys file to determine if files such as Himem.sys or Emm386.exe are loaded from a folder other than the Windows folder. If so, boot Windows by using the Safe Mode Command Prompt Only option. Rename the Config.sys file to Config.dos and the Autoexec.bat file to Autoexec.dos, and then restart your computer.
  2. Some TSRs may be interfering with Windows. Disable any non-boot device drivers in the Config.sys and Autoexec.bat files. If you install from Windows 3.x and you receive a stack overflow error message, check the Win.ini and System.ini files for non-Windows-based programs or drivers that are loading.
  3. There may be an incompatible hardware configuration. Check the port and IRQ settings of the network adapter, sound card, and modem. Make sure that there are no COM2/COM4 or COM1/COM3 conflicts and that no devices are sharing IRQs. Disable or remove conflicting devices.
  4. The computer may need a BIOS upgrade. Check the BIOS version and contact the manufacturer of your computer for information about a BIOS upgrade.

Hope this helps. Please rate my response.
Have a good day

Dec 28, 2010 | Microsoft Computers & Internet

1 Answer

what is the mean auto exe c bat in dos files??

An AUTOEXEC.BAT file contains MS-DOS commands which are executed automatically when a Personal Computer boots. This file is usually located in the root directory of the hard drive or floppy from which the computer boots (or starts) up. The AUTOEXEC.BAT file is used to set various default settings and to run programs that should be executed upon startup. Below you will find a list of executable statements (commands) that typically go into an AUTOEXEC.BAT file, along with explanations their.

The AUTOEXEC.BAT file is one form of a batch file, and it is used to automate functions in MS-DOS. In their simplest form, batch files contain MS-DOS commands (batch file language) which includes commands for such things as loops and execution branches and the like.
Example: @ECHO OFF
This optional command will suppress the display of subsequent commands while the AUTOEXEC.BAT file is being executed

Dec 09, 2010 | Computers & Internet

1 Answer

how do i reboot windows vista. i knwo theres a way to do it not from the CD and it returns it to how u go it out of the box. please let me know thanks

If you are using MS-DOS 6.0 or later, you can use multiple configuration menus or the CHOICE.COM program to configure your system. For more information on using these options under MS-DOS 6.0 or later, type HELP MULTI-CONFIG or HELP CHOICE at the MS-DOS command prompt and then press ENTER. To create the files to automatically restart your computer with the appropriate configuration, do the following:

Create a directory on your hard drive called C:\CONFIGS. Create the CONFIG.SYS and AUTOEXEC.BAT files you need to boot your system for HIMEM.SYS and applications that require it, with the following names: c:\configs\config.dos c:\configs\autoexec.dos Create the CONFIG.SYS and AUTOEXEC.BAT files you need to start your system for the program that conflicts with HIMEM.SYS. Any unique file extension can be used. The following example uses 386: c:\configs\config.386 c:\configs\autoexec.386 The following DEBUG script can be used to create a small executable file called REBOOT.COM. This file, when executed, will cause your system to restart. To create the file, change to the DOS directory, and type the following: debug reboot.comEnter the following information, pressing ENTER key after each line: A 100 ; Debug instruction for assemble MOV AH,0D ; Disk Reset INT 21h ; causes SmartDrv 4.x to write cache MOV AX, 40 ; set up segment addressing MOV DS,AX DS: OR BYTE PTR [17],0C ; equivalent of pressing CTRL+ALT MOV AX,4F53 ; Issue a "DEL" (53h = DEL scan code) INT 15h ; EMM386 sees this & shuts down. DS: MOV WORD PTR [72],1234 ; Set REBOOT flag to Warm-Boot (0=cold) JMP F000:FFF0 ; Execute the internal restart routine <CR> ; This line must be blank (just hit ENTER) R CX 20 ; File size to be written to disk (in hex) N REBOOT.COM ; Filename W ; Write the file to disk Q ; Quit Debug NOTE: The REBOOT.COM file created with this debug script is compatible with SMARTDrive and its write-behind cache feature. The instructions in REBOOT.COM cause SMARTDrive to write (flush) its write-behind cache to disk before the computer is rebooted.

The following commands can be used to copy and rename the configuration files to the root directory of the C drive and restart the computer. To simplify the process, you can put these commands into batch files.

To start your machine for Windows, use the following commands: copy c:\configs\autoexec.dos c:\autoexec.bat copy c:\configs\config.dos c:\config.sys reboot.com To start your machine for the 386 application, use the following commands: copy c:\configs\autoexec.386 c:\autoexec.bat copy c:\configs\config.386 c:\config.sys reboot.com

Apr 29, 2008 | Computers & Internet

1 Answer

Armada E500

using edlin you can enter for config sys device=c:\dos\himem.sys device=c:\dos\emm386.exe noems device=c:\dos\cdrom.sys /d:mscd001 /l:e for autoexec bat @c:\dos\mscdex.exe /d:mscd001 ----------------------------------- config sys himem.sys is the upper memory manager emm386.exe is the 'gate' to allow access or combine all of it noems turns off expanded memory cdrom.sys is the CD Driver - yours may have a different name /d:mscd001 refers to the name of the CD Rom Drive (generic) /l:e refers to the drive letter (e:) to designate for the CD Hope that helps If used, rate me

Nov 11, 2006 | Compaq Armada E500 Notebook

Not finding what you are looking for?

200 people viewed this tip

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Doctor PC
Doctor PC

Level 3 Expert

7733 Answers


Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions