Original Poster
Posted 2007-02-17 02:00 · 日本 东京都
新手上路
★
Credits 4 Posts 1 Joined 2007-02-17 01:06 19-year member UID 79657 Gender Male
Status Offline
There are the following files under the C:/data folder:
......
Test20070214.Evt
Test20070215.Evt
Test20070216.Evt
I want to copy the file that matches the system date to C:/copy
For example, if today is 20070216, then copy Test20070216.Evt to C:/copy
Please help me.
Floor 2
Posted 2007-02-17 03:02 · 中国 陕西 西安 电信
铂金会员
★★★★
Credits 5,212 Posts 2,478 Joined 2007-02-08 23:39 19-year member UID 79003 Gender Male
Status Offline
You don't need to worry about the files in the folder.
Just convert %date% directly into the 20070216 format, then just use copy Test%date2%.Evt C:\
date2 is the converted one...
Floor 3
Posted 2007-02-17 03:20 · 中国 安徽 合肥 电信
初级用户
★
Credits 29 Posts 15 Joined 2007-02-17 00:05 19-year member UID 79653 Gender Male
Status Offline
Forum Jump:
— Select —
站务公告 & 版主讨论
意见反馈 & 网友交流
DOS学习入门 & 精彩文章 (教学室)
DOS疑难解答 & 问题讨论 (解答室)
DOS启动盘 & LOGO技术 (启动盘室)
DOS批处理 & 脚本技术(批处理室)
DOS媒体世界 & 网络技术 (多媒体室)
DOS汉化世界 & 中文系统 (中文化室)
DOS开发编程 & 发展交流 (开发室)
DOS软件下载 & 游戏分享 (下载室)
GRUB4DOS、SYSLINUX及其它启动管理软件讨论专区
其它操作系统综合讨论区
WinPE、PowerShell及其它命令行系统专区
贴图灌水、文学娱乐专区
网络日志(Blog)
论坛回收站
├ 链接失效,待修正