根据当前日期创建 Windows 2003 快捷方式或 MKLINK?
我需要在产品服务器上创建一个符号链接/快捷方式,该符号链接/快捷方式将别名:
agent_ivr_general_info.CURRENT
to
agent_ivr_general_info.[todays date].log
因为我每天的滚动日志 cush 为:
agent_ivr_general_info.2011-04-28.log
我只想打开 1 个链接即可到达当前状态。
I need to create a symlink/shortcut on the prod servers that will alias:
agent_ivr_general_info.CURRENT
to
agent_ivr_general_info.[todays date].log
because I have daily rolling logs cush as:
agent_ivr_general_info.2011-04-28.log
That I want to just open 1 LINK to get to CURRENT.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
嗯...我想一种技术是使用 Sysinternals 的 JUNCTION.EXE每天午夜后运行一个计划任务,并使用如下所示的内容来更改链接:
Hmm... I suppose one technique would be to use Sysinternals' JUNCTION.EXE with a Scheduled Task that runs daily just after midnight, and uses something like the following to change the link: