Hi
Im not sure of the syntaxis but i think it is this way
whats 2>%1 for
also 3>%1
and I just see on the net
2>@1
Thanks
Calvo
Whats 2>%1
Moderator: DosItHelp
Re: Whats 2>%1
Well, > is for redirecting of an output to a file or a device (eg. printer, screen, NUL).
2 is for redirecting the stdErr (error message)
3 is an user defined channel
%1 is the first argument you gave to the batch process
I've never seen 2>@1 because this will create a file named "@1"
But there is another thing you could find somewhere:
2>&1 would bring together stdErr and stdOut to stdOut
Regards
aGerman
2 is for redirecting the stdErr (error message)
3 is an user defined channel
%1 is the first argument you gave to the batch process
I've never seen 2>@1 because this will create a file named "@1"
But there is another thing you could find somewhere:
2>&1 would bring together stdErr and stdOut to stdOut
Regards
aGerman
-
- Posts: 7
- Joined: 31 May 2010 15:35
Re: Whats 2>%1
Hi aGerman
Thx for replying
Is there any document or page in which i can read more about batch? I would like to start doing some examples.
Calvo
Thx for replying
Is there any document or page in which i can read more about batch? I would like to start doing some examples.
Calvo
Re: Whats 2>%1
Calvogalatra wrote:Hi aGerman
Thx for replying
Is there any document or page in which i can read more about batch? I would like to start doing some examples.
Calvo
Well, my nickname is not a joke. I could give you some good links to german tutorials, but I think it would be senseless for you
But you are on http://www.dostips.com/ and you'll find some excelent examples above.
Regards
aGerman
Re: Whats 2>%1
Hi,
but not for me (and some others here) because I'm a German too, but not aGerman
aGerman wrote:I could give you some good links to german tutorials, but I think it would be senseless for you
but not for me (and some others here) because I'm a German too, but not aGerman
Re: Whats 2>%1
Yeah, jeb ... I'm absolutely certain that you need a batch tutorial
OK, for you, other Germans an not for aGermans
a tut collection
a good forum
Regards
a( )German
OK, for you, other Germans an not for aGermans
a tut collection
a good forum
Regards
a( )German