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
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Further batch file problem!


Housten

Likes # 0

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.

Like this post
Housten

Likes # 0

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!!!

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

Best Black Friday 2014 tech deals UK: Latest bargains on phones, tablets, laptops and more this...

IDG UK Sites

Tech trends 2015: 3D printing grows up

IDG UK Sites

25 iOS apps turn (Red) for World AIDS Day campaign

IDG UK Sites

Black Friday 2014 UK: Apple deals, Amazon deals & other Black Friday tech offers