errorlevel 续2
-------siwuxie095
%ERRORLEVEL%值一览表:
|
ATTRIB.EXE |
|
(a) Target file/folder not found |
|
(b) Invalid switch |
|
(c) Sharing violation (target file in use) |
|
(d) Invalid drive specification |
|
(e) Drive not ready (either Abort or Fail reply) |
|
(f) Invalid/wrong number of parameters |
win10下:

|
CHOICE.EXE |
|
(a) With reply list, and reply nn in list (This reply list position |
|
(b) Invalid switch |
|
(c) Invalid switch syntax |
|
(d) Timeout default not in reply list |
|
(e) choice /? |
win10下:


|
CSCRIPT.EXE |
|
(a) Cannot find script file |
|
(b) No script engine for file extension |
|
(c) No file extension in script file |
|
(d) Drive not ready (There is no Abort, Retry, Fail stall) |
win10下:

|
DELTREE.EXE |
|
(a) Required parameter missing |
|
(b) Invalid switch |
|
(c) deltree /? |
|
(d) Not ready reading drive (Abort reply) (Note: Fail reply returns ERRORLEVEL 0) |
win10下:

|
EXTRACT.EXE |
|
(a) Invalid switch |
win10下:

|
FC.EXE |
|
(a) Insufficient number of filespecs |
|
(b) Too many filenames on command line |
|
(c) Sharing Violation + Abort reply (Note: Fail reply returns ERRORLEVEL 0) |
|
(d) Drive not ready (Note: Fail reply returns ERRORLEVEL 0) |
win10下:


|
FIND.EXE |
|
(a) Target string found (=found) |
|
(b) Target string missing (=missing) |
|
(c) find /? |
|
(d) Parameter format not correct |
|
(e) Specified file to search not found |
|
(f) Specified file in use + Fail reply |
|
(g) Drive not ready + Fail reply |
|
(h) Specified file in use + Abort reply |
|
(i) Drive not ready + Abort reply |
win10下:

|
FORMAT.COM |
|
(a) Drive not ready (There is no Abort, Retry, Fail stall) |
win10下:



|
(a) Brief help (use: ftp -h for Brief help) |
|
(b) Error opening script file (file missing) |
|
(c) Invalid switch |
win10下:

|
KEYB.COM |
|
(a) Invalid switch |
|
(b) Invalid keyboard code specified |
|
(c) keyb /? |
win10下:

|
MEM.EXE |
|
(a) Invalid switch |
win10下:

|
MODE.COM |
|
(a) Invalid parameter |
|
(b) Invalid switch |
win10下:

|
MORE.COM |
|
(a) Invalid switch (MORE doesn't accept switches) |
|
(b) Drive not ready (Abort reply) (Note: Fail reply returns ERRORLEVEL 0) |
win10下:

|
MOVE.EXE |
|
(a) Required parameter missing |
|
(b) Unable to create destination |
|
(c) Unable to open source (you see this when trying to MOVE a folder from one drive to another. You need to use XCOPY /S followed by DELTREE, since MOVE won't handle folder moves across drives) |
|
(d) Sharing violation + Fail reply (Note: file is nevertheless COPIED, not moved, in this case) |
|
(e) Sharing violation + Abort reply (Note: file is nevertheless COPIED, not moved, in this case) |
|
(f) Drive not ready (Abort reply) (Note: Fail reply - unusually - returns ERRORLEVEL 1) |
win10下:

|
PING.EXE |
|
(a) Unknown host (usually=name not found on DomainNameServer) |
|
(b) Brief help (with no parameter) Note: for PING Brief help with /? switch, ERRORLEVEL is 0 |
|
(c) Invalid switch (and displays the Brief help as well) |
|
(d) Interrupted with [Ctrl-C] |
win10下:

|
SORT.EXE |
|
(a) Invalid switch |
|
(b) Drive not ready (Abort reply) (Note: Fail reply returns ERRORLEVEL 0) |
win10下:

|
START.EXE |
|
(a) start /? (real mode) |
|
(b) start /? (GUI) |
|
(c) Can't find file specified for START |
|
(d) No file association for specified file |
|
(e) Drive not ready (There is no Abort, Retry, Fail stall) |
win10下:

|
SUBST.EXE |
|
(a) Invalid parameter |
|
(b) Invalid switch |
|
(c) Path not found |
|
(d) Drive not ready (Abort reply) (Note: Fail reply - unusually - returns ERRORLEVEL 1) |
win10下:

|
TRACERT.EXE |
|
(a) Unable to resolve target system name (usually=name not found on DomainNameServer) |
|
(b) Invalid switch |
|
(c) Brief help (no parameter) |
|
(d) Interrupted with [Ctrl-C] Note: for TRACERT Brief help, type command without parameters |
win10下:

|
XCOPY.EXE |
|
(a) File not found |
|
(b) Invalid date in /d switch |
|
(c) Invalid number of parameters |
|
(d) Invalid parameter |
|
(e) Device not ready |
|
(f) Unable to create directory |
|
(g) System can't find file |
win10下:



【made by siwuxie095】
errorlevel 续2的更多相关文章
- errorlevel 续1
-------siwuxie095 常用 errorlevel 返回值: backup 0 备份成功 1 未找到备份文件 2 文件共享冲突阻止备份完成 3 用户用 ct ...
- .Net Core MVC 网站开发(Ninesky) 2.3、项目架构调整(续)-使用配置文件动态注入
上次实现了依赖注入,但是web项目必须要引用业务逻辑层和数据存储层的实现,项目解耦并不完全:另一方面,要同时注入业务逻辑层和数据访问层,注入的服务直接写在Startup中显得非常臃肿.理想的方式是,w ...
- [.NET] C# 知识回顾 - 委托 delegate (续)
C# 知识回顾 - 委托 delegate (续) [博主]反骨仔 [原文]http://www.cnblogs.com/liqingwen/p/6046171.html 序 上篇<C# 知识回 ...
- iOS 开发者账号到期续费流程
1.登录developer.apple.com,查看到期时间 2.到期提醒通知,点击Renew Membership续费(一般提前一个月提醒续费) 3.个人开发者账号续费需要支付 688人民币/年(9 ...
- 微信公众号开发系列教程一(调试环境部署续:vs远程调试)
http://www.cnblogs.com/zskbll/p/4080328.html 目录 C#微信公众号开发系列教程一(调试环境部署) C#微信公众号开发系列教程一(调试环境部署续:vs远程调试 ...
- CI-持续集成(1)-软件工业“流水线”概述
CI-持续集成(1)-软件工业“流水线”概述 1 概述 持续集成(Continuous integration)是一种软件开发实践,即团队开发成员经常集成它们的工作,通过每个成员每天至少集成一次, ...
- 分享我基于NPOI+ExcelReport实现的导入与导出EXCEL类库:ExcelUtility (续3篇-导出时动态生成多Sheet EXCEL)
ExcelUtility 类库经过我(梦在旅途)近期不断的优化与新增功能,现已基本趋向稳定,功能上也基本可以满足绝大部份的EXCEL导出需求,该类库已在我们公司大型ERP系统全面使用,效果不错,今天应 ...
- [译]Godot系列教程三 - 场景实例化(续)
场景实例化(续) 要点 场景实例化带来很多便利的用法,总体来说有: 将场景细分,更便于管理 相对于某些引擎中的Prefab组件更灵活,并且在许多方面更强大 是一种设计更复杂的游戏流程甚至UI的方式 这 ...
- 【小白的CFD之旅】13 敲门实例【续3】
接上文[小白的CFD之旅]12 敲门实例[续2] 4 Results4.1 计算监测图形4.2 Graphics4.2.1 壁面温度分布4.2.2 创建截面4.2.3 显示截面物理量4.2.4 Pat ...
随机推荐
- 内存泄漏 之 MAT工具的使用
1 内存泄漏的排查方法 Dalvik Debug Monitor Server (DDMS) 是 ADT插件的一部分,其中有两项功能可用于内存检查 : · heap 查看堆的分配情况 · ...
- Winform开发常用控件之DataGridView的简单数据绑定——代码绑定DataSet、DataTable、IList、SqlDataReader
前文介绍了Winform为DataGridView提供的数据自动绑定功能,下面介绍一下采用代码的数据绑定 1.用DataSet和DataTable为DataGridView提供数据源 先上代码 pri ...
- 三网合一 中国移动铁通光猫 HG6821M 如何设置宽带自动连接
假期炎热,都说大连是海滨城市比较凉爽,但是那地方潮气太大,实在是不太好呆,于是乎我打道回府来到了内陆家中. 回到家中发现老式的光猫被替换成了 最新的 HG6821M . 按照铭牌上的说明,登录. ...
- ZetCode PyQt4 tutorial widgets I
#!/usr/bin/python # -*- coding: utf-8 -*- """ ZetCode PyQt4 tutorial In this example, ...
- 在linux,arm上的屏幕搜索wifi并连接(qt,多选择,wifi按信号排列)转
先上代码!! #include "widget.h"#include "ui_widget.h"#include <QVBoxLayout>#inc ...
- LDAP基本概念
LDAP(Lightweight Directory Access Protocol)是一种基于计算模型的客户机/服务器X.500目录服务访问协议.LDAP是从X.500目录访问协议的基础上发展过来的 ...
- wiremock 模拟服务接口提供前端使用
前后端分离同步开发时,如果前端需要等后端把接口都开发完了再去动工的话,项目周期会拉长. 以前开发时,一般前期是先把接口文档写的差不多了,要么是让前端自己构造模拟数据,要么是后端在开个控制器专门提供模拟 ...
- 嵌入式linux开发:杂七杂八的话
1. 编译器:常用的有Sourcery,linaro等.当然芯片厂家一般也会提供可用的编译器. 2. 将配置和编译时的输出O到其他位置:make O=some_dir 这样做的好处是保持源代码树的干净 ...
- Bootstrap-Plugin:按钮(Button)插件
ylbtech-Bootstrap-Plugin:按钮(Button)插件 1.返回顶部 1. Bootstrap 按钮(Button)插件 按钮(Button)在 Bootstrap 按钮 一章中介 ...
- Bootstrap-CL:徽章
ylbtech-Bootstrap-CL:徽章 1.返回顶部 1. Bootstrap 徽章(Badges) 本章将讲解 Bootstrap 徽章(Badges).徽章与标签相似,主要的区别在于徽章的 ...