Thanks: 0
Likes: 0
Needs Pictures: 0
Picture(s) thanks: 0
Results 1 to 3 of 3
Thread: I.T help required
-
24th April 2006, 11:14 AM #1
I.T help required
HEEEELLLPPP.
I have been asked to create a small application which will:
a) create a directory which is the current date,
b) move files from another directory INTO the new directory
c) have the task repeated every night at 11:59
My questions are, which program is more suitable for this task?, would a batch file do it for me?
Can some one shed some light on this for me, it has been way too long since I last looked at doing any programming... have been looking up reference books (C++) but too no availI try and do new things twice.. the first time to see if I can do it.. the second time to see if I like it
Kev
-
24th April 2006 11:14 AM # ADSGoogle Adsense Advertisement
- Join Date
- Always
- Location
- Advertising world
- Age
- 2010
- Posts
- Many
-
24th April 2006, 11:21 AM #2
Batch file, with a Kron job to set it off (Sheduled Task, Eg Msoft scheduler). We do it here all the time, just cant remember the code....
I may not have gone where I intended to go, but I think I have ended up where I needed to be.
My Other Toys
-
24th April 2006, 02:18 PM #3
You could try this
Originally Posted by Brudda
This below should work (I quickly tested it under Windows XP) - all you need to do is save the code below as a batch file and use the windows scheduler to call it at 11:59.
Code:@ECHO OFF FOR /f "tokens=2-4 delims=:/- " %%F IN ("%DATE%") DO SET D1=%%F&SET D2=%%G&SET D3=%%H :: The Date tokens in D1, D2, and D3 will be in your local date order MD %D1%%D2%%D3% move c:\path\to\files %D1%%D2%%D3%
Krunchy
Similar Threads
-
Help & Advice required
By Howlong in forum WOODWORK - GENERALReplies: 15Last Post: 20th January 2006, 01:59 PM -
General help required - Long post Lots of questions
By notrot in forum WOODWORK - GENERALReplies: 22Last Post: 9th August 2005, 10:27 PM -
People Power Required
By rod1949 in forum NOTHING AT ALL TO DO WITH WOODWORKReplies: 60Last Post: 17th April 2005, 01:14 PM -
angles required
By jow104 in forum WOODWORK - GENERALReplies: 13Last Post: 7th July 2004, 10:55 PM