Further batch file problem!

  Housten 11 Jul 12

Good Afternoon,

I asked about writing batch files and was greatly helped by some people – but I can not remember who – for which I apologise to them, but ‘My Posts’ is not showing on the site!! One person in particular was very kind and pointed me in the right direction. But I still have a problem – although as I get nearer to finalising the file there maybe others!!!!

What I would like to do is create what would be a sub-folder with today’s date. I know this means that there will be a lot of repetition but it will be quite simple to delete folders – I may even write a batch file for this – but I can not get the file to make a new sub-folder by way of using the “%DATE%” instruction, which is what I thought would do it, but it just doesn’t appear to want to know. What I would like to happen is that when I run the file the date gets picked up – right at the start of the file – and it is then used, although I am considering making it more complicated by getting the time included, as well!!! But I want to walk before I try to run.

Although I am beginning to believe this can not be made to work, but if there is a way I would be very grateful if someone could tell me what the instruction is, because I have looked at a number of sites, and I just can’t get this to work. Of course if it can not be done, that would explain my frustration………….

Many thanks in anticipation.

  Housten 12 Jul 12

Please can anyone help?? Even a 'No, you idiot' would be a help!!!

I really want to sort this ouy - one way or another - before I fully commit to writing the file! I am now in what I think is either the 8th or 9th draft/revision and I would like to get this sorted before I formalise everything!

So, please, please take pity on a poor old pensioner!!!


This thread is now locked and can not be replied to.

Should I upgrade to Windows 10? 8 reasons why you should upgrade to Windows 10... and 2 why you…

We are being sold the ability to spend money we don't have. And we love it

Microsoft claims its new VR lens system is better than Oculus Rift's

Apple Music preview: Why Spotify should be scared of Apple's impressive new music-streaming service

We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message