昨天的日期在批处理文件 [英] Yesterdays Date in Batch File

查看:113
本文介绍了昨天的日期在批处理文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要批处理文件的脚本,这将让我昨天的日期到一个变量,当我运行它。包括像3月1日的条件(这将取决于年2月28日或29日)

I need a script in batch file which will get me yesterdays date into a variable when i run it. Including the conditions like march 1st(which will be Feb 28th or 29th depending on the yr)

推荐答案

假设你的意思是一个MS-DOS批处理文件,看到的此页面

Assuming you mean a ms-dos batch file, see this page.

这篇关于昨天的日期在批处理文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆