Results 1 to 2 of 2

Thread: Batch file Xcopy without manual F

  1. #1
    Join Date
    Jan 2009
    Posts
    9

    Batch file Xcopy without manual F

    All of the batch files we are using in our windows scheduler work except the batch file below.

    xcopy C:\Webs\zUpFtp.txt C:\Webs\UpFtp_Products\zProducts_%date:~4,2%-%date:~7,2%-%date:~10%.txt /y

    ===

    C:\Batch_Files>xcopy C:\Webs\zUpFtp.txt C:\Webs\UpFtp_Products\zProducts_01-11-2
    009.txt /y
    Does C:\Webs\UpFtp_Products\zProducts_01-11-2009.txt specify a file name
    or directory name on the target
    (F = file, D = directory)?

    ===
    Any suggestions at to how we can eliminate a manual [ F ]

  2. #2
    Join Date
    May 2008
    Posts
    3,316

    Re: Batch file Xcopy without manual F

    Cant say properly about deleting Manual F. May be you can try /I switch for that.

Similar Threads

  1. Windows Batch file to output directory names and size to txt file
    By m2thearkus in forum Software Development
    Replies: 6
    Last Post: 16-07-2010, 12:04 AM
  2. Log For xcopy batch file
    By Beverly Archer in forum Software Development
    Replies: 4
    Last Post: 31-03-2010, 01:31 PM
  3. XCOPY command in bat file doesn't run as scheduled task
    By Laurense in forum Operating Systems
    Replies: 4
    Last Post: 29-03-2010, 06:02 PM
  4. XCOPY Exclude issue while copying file
    By teenQ in forum Windows Software
    Replies: 5
    Last Post: 08-02-2010, 12:01 PM
  5. How to use XCOPY to duplicate file?
    By gazwsx in forum Operating Systems
    Replies: 3
    Last Post: 19-08-2009, 07:53 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,717,561,095.84499 seconds with 17 queries