Interlnk Start Simple Network client
[Applicable occasions] if there are two computers that can be linked to a simple network via INTERSVR, this is a
The command used, but not commonly used
[Usage] DOS new support network features,
It enables two computers to compose a simple network via a combined port or serial line
Use Interlnk must add a sentence in Config.sys:
Device=c:\dos\interlnk
Parallel to the end of the line should be 25-pin joints, the needle connection between the following figure
Interlnk: Start Simple Network client
[Applicable occasions] if you have two computers that can be used to connect to a simple network via INTERSVR, this is a very useful command, but not a common one.
Usage
DOS new support network function, it can make two computers through the combined port line or serial line connected to form a simple network use Interlnk must add a sentence in Config.sys:
Device=c:\dos\interlnk
Parallel to the end of the line should be 25-pin joints, the needle connectio
Sometimes, we might be in a situation where we print a Word document without the right printer and get to the other machine and then we don't have word (or a low version of Word installed). To work around this problem, you can use the Print to file feature of Word. It can output a Word document as a binary PRN file, and then it can be printed using a DOS command on another machine.
The first step is to open the Print dialog box, select a printer (that is, a printer attached to another computer
Windows 7 supports many new hardware devices, but you cannot find the printer device you are using, and the printer driver is not available on the printer manufacturer's Web page, then you can try downloading a compatible print driver to install the old printer driver.
First, make sure that the printer USB cable is disconnected, and choose Add Printer from devices and printers, what type of printer do you want to install? window, select LPT1:
;
int Internalhigh;
int Offset;
int Offsethigh;
int hevent;
}
[System.Runtime.InteropServices.DllImport ("kernel32.dll")]
private static extern int CreateFile (string lpfilename, uint dwdesiredaccess, int dwsharemode, int lpsecurityattributes, I NT dwCreationDisposition, int dwflagsandattributes, int htemplatefile);
[System.Runtime.InteropServices.DllImport ("kernel32.dll")]
private static extern bool WriteFile (int hfile, byte[] lpbuffer, int nnumberofbytestowrite, out int lpnumberofbyteswritte
the properties of a folder at the end of point to "hide"@echo offSet Dstfolder=c:/test/batcher.> "%temp%/folderproperty.vbs" echo Set objFSO = CreateObject ("Scripting.FileSystemObject"). GetFolder ("//?/%dstfolder%./")>> "%temp%/folderproperty.vbs" Echo objfso.attributes=objfso.attributes+2Cscript/nologo "%temp%/folderproperty.vbs" Copy content to Clipboard code: REM Deletes a folder that ends with a pointRD/S/q "C:/test/batcher. /"Scheme II" to copy content to the Clipboard code at the end of
interface and the COM1, COM2, and between the ISA slot and the printer LPT1. Video card conflicts with the motherboard is better to judge, the general system often in the "Safe mode" to start or often at the start to remind you to search for new hardware, often remind you to search the latest video card driver. For example: The conflict between the I740 video card and the use of the VIA693 chip motherboard. There is also a conflict between an AGP vid
is finished, remove the device environment handle.
When a printer is installed in a Windows system, the system always automatically sets a printer as the default printer for the system, and the default printer with the keyword device is listed in the [Window] section in the Windows Startup profile Win.ini. The following is the contents of the [Windows] field in Win.ini in a machine:
[windows] load= run= NullPort=None device=HP LaserJet 4050 (computer000),HPBFDB1,
printer driver:
Go back to the printer driver download page and download the required PCL, which is more suitable for output in this article) or PS for image output) print the driver. After the download is complete, double-click the file and click UNZIP, the driver is automatically unbound from the default C-drive root directory folder;
From start to Control Panel to enter the printer window, double-click to add a printer, and select a local printer. For a 2000/2003/XP operating system, select
and graphics to the printer. After printing, delete the device environment handle.
After a printer is installed in Windows, the system automatically sets a printer as the default printer. the [window] section in ini lists the default printers with the device keyword. The content of the [Windows] field in Win. ini of a machine is as follows:
[Windows]
Load =
Run =
NullPort = None
Device = HP LaserJet 4050 (computer000), HPBFDB1, LPT1
The device str
of an earlier mainframe. The stdin can be "Device" means a device driver or port code that controls the PC hardware or port, which is typically implemented and supported by the system's underlying or hardware driver. For example, the console con implemented by Io.sys, the system clock clock$, the unknown device config$, the first serial Port AUX, the first and the Port PRN, all the serial port COM1~COM4, all the same port LPT1~LPT3, the available dri
: Force bitmap updates-L: Local codePage-A: Enable seamlessrdp Mode-B: Use backingstore of X-server (if available)-E: Disable encryption (French TS)-E: Disable encryption from client to server-M: Do not send Motion Events-C: use private color map-D: Hide Window Manager decorations-K: keep window manager key bindings-S: caption button size (single application mode)-T: window title-N: Enable numlock Syncronization-X: embed into another window with a given ID.-A: Connection color depth-Z: Enable RD
environment variable, a loop variable, or
OthersString constants or variables
3. Command is not required by syntax. string2 can be followed by a space to form a valid command line.
==================================
2. If [not] exist [path \] command to be executed in the file name
If a specified file exists, the condition is true. Run the command. Otherwise, run the next sentence. For example:
If exist c: \ config. sys Type C: \ config. sys indicates that if the c: \ config. SYS file exists,
, it can also be a logical file corresponding to an input/output source. The C language provides 5 standard streams that your program can use at any time without opening or closing them. The five standard streams are listed below.------------------------------------------------Name Description------------------------------------------------Stdin Standard Input KeyboardStdout standard output screenStderr standard error screenStdprn standard printer LPT1
more information, see the functions of int 21 h: 25 h (set the interrupt number entry address) and 35 h (read the interrupt number entry address)6. System Configuration
0000: 0400 h --
4 words
Serial Port (COM1 ~ Com4) base address
0000: 0408 h --
4 words
Printer Port (LPT1 ~ Lpt4) base address
0000: 0410 h --
1 word
System Device table (see figureA6.2)
0000: 0413 h --
1 word
General memory
HKLMSystemCurrentControlSetControlSession ManagerPendingFileRenameOperations. next you'll see it determine what DOS device mappings it shoshould create (e.g. COM1, LPT1), what environment variables are defined, what DLL's it "knows about" (standard DLLs in the system32 directory), and which protected subsystems it shoshould start (e.g. OS/2, POSIX ).
Session Manager typically launches Chkdsk (autocheck.exe), which is specified in the Session Manager
-- enable the device function.Set the parameter pszname to \. \ physicaldrivex ". For example, open the first physical hard disk sector: You can call the createfile function as follows:Createfile (text ("\. \ physicaldrive0 "),...);In this way, you can open a physical disk drive and directly access the hard disk partition table.However, opening a physical disk driver is potentially dangerous, especially when a wrong write operation causes damage to the content of the physical disk.
Ser
keyboard, and stdout/stderr points to the console monitor. Therefore, the console usually refers to the combination of the keyboard and monitor, a concept embodied on early mainframe terminals. Stdin can be
A device is a device driver or port code that can control the hardware or port of a PC. It is usually implemented and supported by the underlying system or hardware driver. For example, the console con implemented by Io. sys, the system clock CLOCK $, the unknown device CONFIG $, the first
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.