• وبلاگ : پاي سيب
  • يادداشت : Cellular automaton
  • نظرات : 0 خصوصي ، 82 عمومي
  • درب کنسرو بازکن برقی

    نام:
    ايميل:
    سايت:
       
    متن پيام :
    حداکثر 2000 حرف
    كد امنيتي:
      
      
     
    + DOS 

    AUTOEXEC in NT

    NT does not use AUTOEXEC.BAT, the file is called AUTOEXEC.NT and should be found in the C:\WINNT\system32 folder. Here is a sample AUTOEXEC.NT file:

    @echo off

    REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
    REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
    REM different startup file is specified in an application"s PIF.

    REM Install CD ROM extensions
    lh %SystemRoot%\system32\mscdexnt.exe

    REM Install network redirector (load before dosx.exe)
    lh %SystemRoot%\system32\redir

    REM Install DPMI support
    lh %SystemRoot%\system32\dosx
    SET PCSA=C:\PW32
    dnp16.exe

    *.NT and *.CMD

    .NT and .CMD may be used as .BAT files were used in earlier versions of Windows. You may notice on NT systems that there are fewer and fewer .BAT files. Try seaching for .NT or .CMD and you will find many of the same types of batch files that were available as .BATs. For example: CONFIG.NT has a similar function to the old CONFIG.SYS of Windows.


    CONFIG.SYS

    In Windows systems config.sys is used to set the initial values of the environment variables. To see your current settings, type SET on a command line. In early versions config.sys is a text file you can edit. In later versions it is a complied file that cannot be changed in a text editor. In newer NT versions it is not used at all. Try msconfig.exe instead.

    REM [Header]
    FILES=20
    BUFFERS=20
    DOS=HIGH,UMB
    REM [SCSI Controllers]
    REM DEVICE=SCSI.SYS
    REM [CD-ROM Drive]
    REM DEVICE=CDROM.SYS /D:OEMCD001
    REM []
    REM DEVICE=.SYS
    REM [Sound, MIDI, or Video Capture Card]
    REM DEVICE=SOUND.SYS
    REM [Mouse]
    REM DEVICE=MOUSE.SYS
    REM ------------------
    REM [Miscellaneous]
    REM DEVICE=SMARTDRV.EXE




    Types of "batch" files in windows

    INI, *.ini - Initalization file. These set the default variables for the system and programs. More

    CFG, *.cfg - Configuration files.

    SYS, *.sys - System files, can sometimes be edited, mostly compiled machine code in new versions. More.

    COM, *.com - Command files. These are the executable files for all the DOS commands. In early versions there was a seperate file for each command. Now, most are inside COMMAND.COM.

    NT, *.nt - Batch files used by NT operating systems. More.

    CDM, *.cmd - Batch files used in NT operating systems. More.

    Answer Files and Unattended Installations
    Customizing Unattended Installations
    Answer Files
    Customizing and Automating Installations
    Automate Windows Installations