How can I execute multiple commands in the Windows commandline with just a single line?
So for example say I want to perform an SVN update and then copy all of the files to another location...
svn update; copy *.* c:\development\copy\
That doesn't work obviously. Is there a character or delimiter like ';' to perform something like this?
Answer
Yes there is. It's &.
&&
will execute command 2 when command 1 is complete providing it didn't fail.
&
will execute regardless.
No comments:
Post a Comment