ITPub博客

首页 > Linux操作系统 > Linux操作系统 > One DOS command!

One DOS command!

原创 Linux操作系统 作者:YoungEric 时间:2007-11-08 10:04:54 0 删除 编辑
One DOS batch command can copy a source dir to object dir which will be auto named by the current date.[@more@]

/**************************************************
Creator: Eric Zhao(English name)
Zhaofei(Chinese name)
Date: 2007-11-08
Object: Copy a source dir to object dir which will
be auto named by the current date.
source dir: D:1
object dir: D:%date:~0,4%%date:~5,2%%date:~8,2%
--The following command is the batch command.
@echo off
xcopy D:1 D:%date:~0,4%%date:~5,2%%date:~8,2%
echo exit;
***************************************************/

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10484922/viewspace-981247/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2007-12-18

  • 博文量
    79
  • 访问量
    211217