is there any pdf | chm files about the BATCH for downloading
Moderator: DosItHelp
-
- Posts: 2
- Joined: 26 Jun 2011 08:50
is there any pdf | chm files about the BATCH for downloading
hello,every one!I have just registed in the forum,can anyone give some help?
I want to download some files . thanks!
I want to download some files . thanks!
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: is there any pdf | chm files about the BATCH for downloa
Yes it is called C:\>HELP
Re: is there any pdf | chm files about the BATCH for downloa
@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
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
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: is there any pdf | chm files about the BATCH for downloa
aGerman wrote:@Cleptography
Be gentle with our new members lol
@aGerman
0x4920776173206265696e67206e696365203a29
Re: is there any pdf | chm files about the BATCH for downloa
Of course you were. And you were succinct
Never mind. Mostly I'm also a bit short-spoken.
Regards
aGerman
Never mind. Mostly I'm also a bit short-spoken.
Regards
aGerman
-
- Posts: 287
- Joined: 16 Mar 2011 19:17
- Location: scriptingpros.com
- Contact:
Re: is there any pdf | chm files about the BATCH for downloa
417563682065696E20626C696E646573204875686E20
66696E646574206D616C2065696E204B6F726E204461
7320697374207A776172206E69636874206765726164
6520736368696E206E75747A6C696368
66696E646574206D616C2065696E204B6F726E204461
7320697374207A776172206E69636874206765726164
6520736368696E206E75747A6C696368
-
- Posts: 2
- Joined: 26 Jun 2011 08:50
Re: is there any pdf | chm files about the BATCH for downloa
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?
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?
-
- Expert
- Posts: 442
- Joined: 01 Aug 2010 17:13
- Location: Canadian Pacific
- Contact:
Re: is there any pdf | chm files about the BATCH for downloa
viewtopic.php?t=1486
...and...
viewtopic.php?f=3&t=1955&p=8582#p8582
It may be better/easier to use delayed expansion. This trick usually isn't necessary for scripts.
...and...
viewtopic.php?f=3&t=1955&p=8582#p8582
It 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
@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.
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
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