Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: @echo off - '1 file(s) copied'  (Read 10397 times)

0 Members and 1 Guest are viewing this topic.

night-rider

    Topic Starter


    Beginner

    @echo off - '1 file(s) copied'
    « on: May 14, 2010, 08:33:33 PM »
    here I am again!!!

    @echo off
    copy f:\new\file.xls d:\old\file.xls
    quit

    is it possible not to display the '1 file(s) copied' after copying?



    Salmon Trout

    • Guest
    Re: @echo off - '1 file(s) copied'
    « Reply #1 on: May 15, 2010, 02:14:33 AM »
    is it possible not to display the '1 file(s) copied' after copying?

    To hide messages from copy, move del, etc, redirect the console output of the command to nul like this

    copy f:\new\file.xls d:\old\file.xls>nul



    night-rider

      Topic Starter


      Beginner

      Re: @echo off - '1 file(s) copied'
      « Reply #2 on: May 15, 2010, 03:32:53 AM »
      o thank you so much!!!

      what if I want to copy faster more files? is there anything we can do to that?

      Salmon Trout

      • Guest
      Re: @echo off - '1 file(s) copied'
      « Reply #3 on: May 15, 2010, 03:38:45 AM »
      Get faster hard drives
      Download Teracopy, which is free and has command line options
      If you want to copy many files use wildcards
      Study XCOPY



      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: @echo off - '1 file(s) copied'
      « Reply #4 on: May 15, 2010, 09:25:42 AM »
      Study XCOPY

      And ROBOCOPY, I believe that is included in Vista and higher.
      I was trying to dereference Null Pointers before it was cool.