Sam's notebook

Getting a proper %DATE% variable in batch files September 13th, 2012, 2PM

Programming

Windows batch files are hideous things, if one is used to *nix shell scripting. Everything feels wrong! Of course, that’s mostly just because they have a different syntax… but sometimes it’s because they are wrong. Date formatting, for instance. There’s an environment variable, %DATE%, that holds the current date, but it’s formatted to the current […]

[No comments] [Keywords: , , , , , , , ] [Permanent link]