Windows XP, his ambition in the future is to become. net on the internet. Now let's look at Linux. Linux is just a kernel! This is important and you must understand it.
Only one kernel cannot constitute one operating system. Currently, linux operating systems such as redhat, blue dot, and red flag all use such a kernel, and other applications include X. Anything called an operating system is like this: Kernel + User Interface + general applications.
Now I will take the correspondence between th
! This is important. You mustUnderstand this.Only one kernel cannot constitute one operating system. Current linux operating systemSuch as redhat, blue dot, and red flag all use such a kernel.Composed of applications (including X. Anything called an operating system isIn this way: Kernel + User Interface + general application.
Now I will take the correspondence between the MS system and the linux system to make everyone moreUnderstanding Linux
If you have installed DOS, you must know that the en
The following is an example. It reads the first line of autoexec. bat.
# Include # Include
Main ()
{
File * FP;
CharS [256];
If(FP = fopen ("C: // autoexec. Bat", "R") = NULL)
{
Printf ("can't open file/N ");
Return;
}
Fgets (S, 256, FP );
Printf ("line1: % s/n", S );
Fclose (FP );
}
// The combination of file stream and string is the best:
# Include # Include # Include # Include
Using namespaceSTD;
; Win2000/
His development is from the DOS pure character interface system to a character interfaceAnd an image interface application (Win3.2 ).Win95 is integrated, and now, at the beginning, the NT of the graphic interface becomesWindows XP, his ambition in the future is to become. net on the internet
Now let's look at Linux. Linux is just a kernel! This is important. you mustUnderstand this.Only one kernel cannot constitute one operating system. Current linux operating systemSuch as redhat, bl
tomsrtbt to restore Windows.
# Mkdir/mnt/win
# Mkdir/mnt/floppy
# Mount-t vfat/dev/hda1/mnt/win
# Mount-t vfat/dev/fd0/mnt/floppy
# Vi/mnt/win/autoexec. bat
# Cd/mnt/floppy
# Cp/mnt/win/autoexec. bat.
# Cp/mnt/win/config. sys.
# Cp "/mnt/win/program files/netscape/bookmarks.htm ".
# Cd/mnt
# Umount floppy
# Umount win
Disasters do not happen frequently, but the most important thing to prepare for a d
let the Web server know the editor location, set the JAVA_HOME environment variable to the J2SDK installation directory. If you have installed and accepted the default directory in Windows, add "set JAVA_HOME = C: 1.2.2" to your "autoexec. bat file, and then restart.After J2SDK is installed, download and install JSWDK or Tomcat beta version, that is, Java-based Apache Web Server beta version. It doesn't matter where you put JSWDK, as long as you can
fact, the only condition for your Web server to use JSP is to have a Java editor. To let the Web server know the editor location, set the JAVA_HOME environment variable to the J2SDK installation directory. If you have installed and accepted the default directory in Windows, add "set JAVA_HOME = C: 1.2.2" to your "autoexec. bat file, and then restart.
After J2SDK is installed, download and install JSWDK or Tomcat beta version, that is, Java-based Apac
result is (). (Select one)
A. Caught in main () nothing
B. Caught in main ()
C. nothing
D. No output
26. Compile and run the following Java code snippet: char c = 'a'; switch (c) {case 'A': System. out. println ("a"); default: System. out. println ("default");} the output result is (). (Select one)
A. The Code cannot be compiled because the switch statement does not have A legal expression.
B. a default
C.
D. default
27. In Java, after the following statement is executed, the value of c is ().
, modify the three files: io. copy sys to c :\, command.com to c :\and c: \ windows, and copy regenv32.exe to c: \ windows \ system, in c: \ Program, because Windows me already contains ):
Config. sys content:
Device = c: \ windows \ ifshlp. sys
Buffers = 40
FILES = 40
DOS = high, UMB
Lastdrive = Z
[Menu]
Menuitem = 1, Windows me
Menuitem = 2, MS-DOS
Menuitem = 3, Linux
Menudefault = 1, 10
Menucolor = 15, 1
Numlock = on
[1]
[2]
The rem optical drive driver depends on the actual situation:
email addressJmMessage. AddRecipient (receiver ,"","");// Set the username and password for logging on to the mailboxJmMessage. MailServerUserName = "ss ";JmMessage. MailServerPassWord = "ss ";// Set the smtp server addressIf (jmMessage. Send ("smtp.163.com", false )){Response. Write (" ");}ElseResponse. Write (" ");}
The above is the specific usage of Jmail!
I want to add an attachment as shown in Figure
The Code is as follows:
Copy code
Jmail. AddAttachment ("c:
In Windows c: \, when viewing hidden files, you can always see files such as config. sys and IO. sys, all of which are 0 kb in size. I don't know what these files are? Which is used to start dos? Or do I simulate the DOS Startup environment?
DOS Startup sequence: boot --> Io. sys --> msdos. sys --> config. sys --> command.com --> autoexec. bat
At DOS Startup, the system files Io. sys and msdos. sys are read first, and the following three files are e
";JmMessage. MailServerPassWord = "ss ";// Set the smtp server addressIf (jmMessage. Send ("smtp.163.com", false )) {Response. Write (" "); }ElseResponse. Write (" "); } The above is the specific usage of Jmail!I want to add an attachment as shown in the following figure. The code is as follows:Copy code Jmail. AddAttachment ("c: autoexec. bat ")Jmail.AddAttachment(“myImage.gif ",
, 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 placed in the upper-layer Dir
. For example, we saved a session named foobarserver in putty, and our network does not have a host name named foobarserver. The host name saved in this foobarserver session is demo-server, and the saved Automatic Login User is Taylor. Use commands
Pscp C:/autoexec. Bat foobarserver: backup/
Copy the local C:/autoexec. BAT file to the backup subdirectory in the main directory of user Taylor on
search box, set the search target to C:, and click search, delete the file starting with Normal, and open "C: \ Documents and Settings \
Error prompted when starting WordQ: I am using Windows XP. I installed Office 2000 some time ago (the installation process went smoothly). Now, when I open Word, I always prompt "AUTOEXEC ", however, Word can also be started normally. Why?A: When editing a document, your Word program loads an
Http://hi.baidu.com/kk126/blog/item/e44b6b27afc50407918f9d17.htmlHttp://www.ly705.cn/blog/archives/20071228/93.htmlHttp://www.lilu.name/Html/diannaojishu/2008-7/962025.html
The aspexe. dll file is a component that can call asp files to execute server programs. It is very convenient to use. Of course, the server program can also be called through server. createobject ("wscript. shell"), but this is not easy to use.
First, download the file: [Click to browse the file: ASPEXEC. DLL]
The synt
to assign a full Path string, and then use FullName (), Drive (), Path (), ext (), Name ()Obtain the full name, drive name, path, extension, and name respectively.
See the following example.
Void parseNames (const TDesC aFileName );Void fileNames (){_ Annotate (KFuncName, "\ nDoParsing () \ n ");Console-> Printf (KFuncName );_ Partition (KParse1, "d: \ path \ fn. ext ");ParseNames (KParse1 );_ Partition (KParse2, "autoexec. bat ");ParseName
. The optimal sequence of characters used is: # % -- 2017123456789a ~ Z.
Undelete also has the file creation protection function, which is beyond the scope of this course. Please refer to the relevant dos manual when using some functions.
7. Other commands
(1) CLS -- clear screen command
1 function: Clear all displays on the screen, and place the cursor in the upper left corner of the screen.
Type 2: Internal commands
3 Format: CLS
(2) Ver command for viewing the System Version Number
1 function
Cause:
(1) You can only access the system in safe mode.
(2) If you choose to enter the system normally in security mode, the following text is displayed in the black screen:
Insuficient memory to initialize windows.
Quit one or more memory-resident programs or remove unnecessary utilities form your Config. sys
And autoexec. BAT files, and restart your computer.
(3) the computer memory is added with a 1 gb ddr 400 memory based on the original 400 m DDR
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.