首页 > Linux操作系统 > Linux操作系统 > One DOS command!
/**************************************************
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博客 ” ,链接:https://blog.itpub.net/10484922/viewspace-981247/ ,如需转载,请注明出处,否则将追究法律责任。