Page 1 of 1
is there any pdf | chm files about the BATCH for downloading
Posted: 26 Jun 2011 09:40
by batcheller
hello,every one!I have just registed in the forum,can anyone give some help?
I want to download some files . thanks!
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 26 Jun 2011 10:52
by Cleptography
Yes it is called C:\>HELP
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 26 Jun 2011 13:15
by aGerman
@Cleptography
Be gentle with our new members lol
@batcheller
Cleptography is right.
[Windows]+[R] -> cmd -> OK... opens a command prompt. Type
help and hit Enter to get a command list with a short description.
For extended help of a particular command type
command /?.
Also have a look at the
command index here on DosTips. On the bottom of this site you will find a batch code which will create your own command index.
Regards
aGerman
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 26 Jun 2011 15:35
by Cleptography
aGerman wrote:@Cleptography
Be gentle with our new members lol
@aGerman
0x4920776173206265696e67206e696365203a29
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 26 Jun 2011 16:33
by aGerman
Of course you were. And you were succinct
Never mind. Mostly I'm also a bit short-spoken.
Regards
aGerman
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 26 Jun 2011 19:10
by Cleptography
417563682065696E20626C696E646573204875686E20
66696E646574206D616C2065696E204B6F726E204461
7320697374207A776172206E69636874206765726164
6520736368696E206E75747A6C696368
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 26 Jun 2011 22:03
by batcheller
thanks everyone!I just konw a bit .
by the way,I especially want to know about the use of command:'call echo',
i think it's hard for me to learn!Give me some examples?
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 27 Jun 2011 05:13
by orange_batch
viewtopic.php?t=1486...and...
viewtopic.php?f=3&t=1955&p=8582#p8582It may be better/easier to use delayed expansion. This trick usually isn't necessary for scripts.
Re: is there any pdf | chm files about the BATCH for downloa
Posted: 27 Jun 2011 13:54
by aGerman
@Cleptography
The meaning of "Auch ein blindes Huhn findet mal ein Korn." is ...
"Even a blind hen sometimes finds a grain of corn."
"Even a blind squirrel finds a nut once in a while."
"A blind man may sometimes hit the mark."
"Every dog has its day."
"Even a broken clock is right twice a day."
... success obtained through dumb luck.
BTW Are you learning German?
@batcheller
Keep in mind:
- a variable is enclosed in percent signs
- a variable after a command is usually expanded to its value
- a percent sign can be escaped by a second percent sign
call echo is a method to expand nested variables.
Code: Select all
echo on
set "a1=test"
set "n=1"
call echo %%a%n%%%
pause
How does it work:
call echo %%a%n%%%The red ones escape the green ones, the blue ones enclose variable n. After executing of
call the red ones are removed and %n% is expanded to the value 1.
echo %a1%Well, now its clear that
echo expands %a1% to
test.
Regards
aGerman