Search

۱۳۸۹ آبان ۱۲, چهارشنبه


Commands arp and nbtstat:
Initially with two simple commands, do we begin. Nbtstat command the name of work into IP, and arp to work together to convert the IP address is the Physical Address. In general, and to obtain these addresses can thus use the following commands:

arp-g
nbtstat-c

For updating memory Cache, nbtstat-RR command to use. While in this example and subsequent example, to obtain other parameters, you can? / End commands to use. Msln:? / Arp

Command cacls:
This command will enable us to see Permission, and if you need to edit it. Can be realized so that the command will be very important. Permission to view a folder to act as follows:

cacls mohammad

Now if you want to change this folder Permssion, can act as follows:

cacls mohammad / e / g administrator: F

Parameter e / edit the ACL is a list. Parameter g / for granting permission to a specific user is used. The F word is meant to Full Control. Other privileges are as follows:

C: Change
R: Read
W: Write

For a power user of both, the command cacls / d User will be used. More information? / Cacls see!

Command netsh:
Command and of course a very important and attractive applications. By the command, will be able to control Kamln network settings and if necessary, change. netsh contains many commands and typing some commands into a branch to another if the other instructions is included! For example? / Netsh type. See order number. However, type netsh, and then click Inter. See that you are entering netsh branch. Now? / Write and Inter on. Other commands you'll appear! Summary This command is very extensive and his familiarity with all parts, should spend a little.

With IP, we can command the system to a change in general. This command can work with an IP system in general change. To do this, first enter the netsh command and after beating Inter, type the following command:

netsh> interface ip set address name = "local area connection" static 192.168.0.10 255.255.255.0 192.168.0.1 1

Details are clear and do not think the additional explanation is needed. If you want to get IP automatically, use the following command:

netsh> interface ip set address name = "Local Area Connection" source = dhcp

With the netsh interface ip show config command can complete details about network settings arrive. Extent is very high and commands a better? / Access to the rest yourself.

Command NET:
This command also many subsets such as net time, net send, net start, net stop, net use, net share, net file and has .... Some more orders we will consider.

net use z: \ \ 192.168.0.5 \ learn

This command computer 192.168.0.5 Learn folder in drive with Z in our computer can store. NET can be ordered by the network members for all or some of them also sent a message:

net send * "salam, khoobin bache ha?!"

High command, the desired message to be sent to all clients. Messenger service on the course should be clear that computers still command help net it is possible:

net start messenger

Myriad of other work to be done with this command that are enjoyable Vaqn. Myriad of other work to be done with this command that are enjoyable Vaqn. With this command you can Msln itvillage folder with the name test share:

net share test = F: \ itvillage

Release Batch:
Have to imagine every day in the DOS environment, a long series of commands to enter the lot number. If you want every day to enter the commands manually, time-consuming and will be dull. To prevent this, you can create a Batch File to just click on the desired file, all your commands to be run and burst. Of course, this is the patience that will give a full explanation in this regard. But for the DOS environment, able to create such a file, act as follows:

edit file.bat

هیچ نظری موجود نیست: