---
title: "顺序执行DOS命令"
author: "hellostory"
date: "2011-06-29T11:02:00Z"
tags: []
slug: "dos"
draft: false
lastmod: "2012-02-22T11:13:16Z"
id: 1416480
url: "https://hellostory.iteye.com/blog/1416480"
---

1. 命令1&命令2&命令3...(无论前面命令是否故障,照样执行后面)
2. 命令1&&命令2&&命令3....(仅当前面命令成功时,才执行后面)
3. 命令1||命令2||命令3....(仅当前面命令失败时.才执行后面)