常用的dos命令   Leave a comment

静默删除

del /f /s /q filename

multiple commands in CMD
& 
 command1 & command2 
 Execute Command1 and then execute Command2

&& 
 command1 && command2
 Runs the command2 only when command1 doesn't Complete successfully

|| 
 command1 || command2
 Runs the second command if the first command had an error

() 
 (command1 || command2) || (command3 & command4) 
 Defines the order in which commands are to be executed

Posted 2012年04月6日 by gw8310 in dos

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: