Instalar Steam
iniciar sesión
|
idioma
简体中文 (Chino simplificado)
繁體中文 (Chino tradicional)
日本語 (Japonés)
한국어 (Coreano)
ไทย (Tailandés)
български (Búlgaro)
Čeština (Checo)
Dansk (Danés)
Deutsch (Alemán)
English (Inglés)
Español - España
Ελληνικά (Griego)
Français (Francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (Húngaro)
Nederlands (Holandés)
Norsk (Noruego)
Polski (Polaco)
Português (Portugués de Portugal)
Português - Brasil (Portugués - Brasil)
Română (Rumano)
Русский (Ruso)
Suomi (Finés)
Svenska (Sueco)
Türkçe (Turco)
Tiếng Việt (Vietnamita)
Українська (Ucraniano)
Informar de un error de traducción
such as running
net user /add [username] [password]
but part by part or before i run net use
help net
net help
net help user
That should get you started
net user somehaxor 12345 /add /comment:"one bad mother -SHUT YO MOUTH" /FULLNAME:"Shaftkovsky Smith"
net use \\%ip% %pass%/USER:%user%
would be typed at a command prompt
the phrase %ip% itself would be evaluated and turned into the ip of your machine (127.0.0.1 for example). %pass% would be your unencrypted password ("12345", the same combination on my luggage) %user% would be your windows login screen name (probably "sans")
You type the original line and run it and the command prompt itself pretends you really wrote
net use \\127.0.0.1 12345/User:sans
but you could actually type that and have the same result.
Where does it get these values from? Simple, the command prompt is pulling it from your environment variables.
at any command prompt run the set command
You'll see a pile of variables. Some you may recognize, like hostname cpu, username, ip, path and a lot of others you probably haven't seen before. Windows needs most of these just to operate, although it won't tell you which exact ones, you just have to know(or research). Some of them were added by other programs (do you have a java-jre1.6 floating around near the end of your path variable? How about JAVA_HOME?)
Anyway, the command prompt pulls these values at the time that its evaluating the expressions in the command line that you gave it.
Here, try this:
You'll probaly notice that %pass% remained as it was. There is no variable named pass so it left it alone.
at a command prompt run help. Also run all those other help commands. That is general useage.
If you want to learn a specific command run help <command> (if the help is built into the command prompt itself). otherwise run the command and then follow it with the /? switch. Ideally all commands explain what they're expecting in order to do their function.
The net command has A LOT of options. So beyond the normal help you can run net help and see what you can do.
I triply explained about environment variables and what the command prompt does if it sees it in the command you are attempting to run. The matched pair of percentage signs around a name means to replace that text with the current value of that environment variable. It gets rid of the percent signs (otherwise it would keep trying to evaluate the new text it just stuck there). You see form my example that they dissappeared for the two existing variables that it COULD find. Also, feel free to SET all the variables you want, so that the scripts that you write actually use your own set of variables.