locked
Command Prompt Questions RRS feed

  • Question

  • Hi I have a question on command prompt coding, Can someone please tell me where can i find it?It would be great if you guys can move my below question to that location.

    Hi All,

    I have the following Copy Command which copies files from one location to another

    XCOPY D:\Test C:\Test /i

    Now i would like to have the files copied from D to C everyday based on the date for today, i googled around and found this one which is working fine

    XCOPY D:\Test C:\Test /D:01-19-2015.

    The thing here is i want the date to be automated as i would like to schedule a job for this one which would copy the files daily automated .

    Can someone please help me with this?

    PLease let me know if you have any questions.

    Thanks

    Monday, January 19, 2015 8:39 PM

Answers

  • Should be no problem to set it up via Windows Task Scheduler. I'd ask them over here about that.

    http://answers.microsoft.com/en-us/windows

     

     

     

     


    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]

    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

    • Proposed as answer by ZigZag3143x Tuesday, January 20, 2015 4:14 PM
    • Marked as answer by Just Karl Wednesday, January 28, 2015 3:49 PM
    Tuesday, January 20, 2015 12:31 AM
  • Hello,

    I'd ask in The Official Scripting Guys Forum!

    Karl


    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

    • Proposed as answer by ZigZag3143x Tuesday, January 20, 2015 4:14 PM
    • Marked as answer by Just Karl Wednesday, January 28, 2015 3:49 PM
    Tuesday, January 20, 2015 3:53 PM

All replies