Results 1 to 5 of 5

Thread: XCOPY command in bat file doesn't run as scheduled task

  1. #1
    Join Date
    Jan 2010
    Posts
    57

    XCOPY command in bat file doesn't run as scheduled task

    Hello, I am testing one of my test folder for copying the files from other server. I have tried to perform this, but I am not able to do it. I am having one server with the Windows 2008 and another with the Windows 2003. I am able to execute that XCOPY command in a 'bat' file, but when I schedule the ‘bat’ file as a scheduled task, I am not able to get the solution. So, if you are having any solution for this, then please help me.

  2. #2
    Join Date
    Apr 2008
    Posts
    3,522

    Re: XCOPY command in bat file doesn't run as scheduled task

    Hello, you must need to provide the command, so that it will be possible to check whether you are having problem with the command or due to some or the other any issue. So, simply provide the command which you are using currently and then I can able to know whether you are having problem with the command or you are not getting that due to some server problem. So, just provide that command.

  3. #3
    Join Date
    Apr 2008
    Posts
    3,267

    Re: XCOPY command in bat file doesn't run as scheduled task

    Hello, I think you are making use of the scheduled script file for your Scheduled Task Wizard and that is the problem due to which you are not getting the solution when you make use of the command at the server end. So, you simply need to make use of the mapping of the drive. As if you check the Xcopy command then you will not able to get the solution from the URL. So, simply use the mapping of the drive which will allow you to solve your problem.

  4. #4
    Join Date
    Apr 2008
    Posts
    3,295

    Re: XCOPY command in bat file doesn't run as scheduled task

    Hello, It may be possible that you are making use of the command which is redirecting the output of the batch file to another path. Or you are doing something from which you are setting the batch file which will simply run the actual batch file while executing the batch file. So, you need to redirect the output to check the working of the command which you are using. So, simply do this.

  5. #5
    Join Date
    Nov 2005
    Posts
    3,026

    Re: XCOPY command in bat file doesn't run as scheduled task

    Hello, I would suggest you to make use of the rechecking of the XCopy command and then you will able to get the solution for your problem. So, simply make use of the right command and then you will able to get the solution for your problem. It will simply solve your problem and you will able to get the output which you want. So, simply do it.

Similar Threads

  1. Replies: 3
    Last Post: 17-01-2014, 10:37 AM
  2. FTP Upload batch file doesn't work properly in Task Scheduler
    By supphavith09 in forum Windows Server Help
    Replies: 1
    Last Post: 09-02-2012, 07:39 AM
  3. How to run the Xcopy command on XP
    By Mansi gala in forum Operating Systems
    Replies: 3
    Last Post: 31-10-2009, 06:38 PM
  4. Problems running batch file as scheduled task
    By pete0085 in forum Windows Server Help
    Replies: 7
    Last Post: 01-01-2009, 03:15 PM
  5. Running XCopy using AT command
    By Ian in forum Windows Server Help
    Replies: 8
    Last Post: 26-09-2007, 10:34 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,930,726.36543 seconds with 17 queries