blank line in copy ... results

Apr 2, 2011
1,541
13
54
North Carolina, USA
The TCMD.txt is a select all / copy from TCMD. The MyBTM.btm is the file I ran to get the TCMD.txt, /What causes the blank line here? Seems to be an error?

Code:
ftp://vefatica.net/4plugins/X64/4console64.zip =>! C:\TCMD\MyPlugins\vefatica.net\4plugins\X64\4console64.zip

     2 files copied
 

Attachments

  • TCMD.txt
    12.9 KB · Views: 36
Apr 2, 2011
1,541
13
54
North Carolina, USA
Can't attach more then one file per message...

Code:
text

    echo Checking vefatica.net
    echo Checking lucky.syr.edu...
    echo Checking prospero.unm.edu...
    echo Checking jpsoft's event11.zip...
    echo Checking jpsoft's everything.zip...
    echo Checking jpsoft's fedutils9.zip
    echo Checking Prospero's RegTweaks.btm
    echo Checking http://www.horstmuc.de/index.html (need to work on 11/9/2016 6:00PM )

        echo https://jpsoft.com/forums/threads/duplicate-files-in-multiple-plugin-sites.10778/#post-60704

endtext

set sRootFldr=C:\TCMD\MyPlugins

echo ---------------------------------
timer on
rem
rem https://jpsoft.com/forums/threads/cant-access-updated-plugins-at-ftp-lucky-syr-edu-4plugins.7372/page-2#post-42288
rem https://jpsoft.com/forums/threads/is-lucky-syr-edu-dead.8782/#post-49450
rem
echo Checking vefatica.net ... (backup of lucky.syr.edu)
copy /a: /e /f /g /md /nr /s /u /v /w "ftp://vefatica.net/*"    %sRootFldr%\vefatica.net\
echo.
echo Dirs made: %@format[5,%_copy_dirs]      Files copied: %@format[5,%_copy_files]         Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
goto :Prospero
  timer on
  rem
  rem https://jpsoft.com/forums/threads/cant-access-updated-plugins-at-ftp-lucky-syr-edu-4plugins.7372/page-2#post-42288
  rem
  echo Checking lucky.syr.edu...
  copy /a: /e /f /g /md /nr /s /u /v /w "ftp://lucky.syr.edu/*" /[! *mb.rnd *.bin arnex4.jpg thumbs.db *.png]   %sRootFldr%\lucky.syr.edu\
  echo.
  echo Dirs made: %@format[5,%_copy_dirs]      Files copied: %@format[5,%_copy_files]       Errors: %@format[5,%_copy_errors]
  echo.
  timer off
  echo ---------------------------------
:Prospero
timer on
rem
rem for more information please see https://jpsoft.com/forums/threads/timeout-on-ftp-prospero-unm-edu.6616/
rem         site is now mirrored at ftp://lucky.syr.edu/chasdye/*
rem                                 https://jpsoft.com/forums/threads/plugins.7702/#post-44010
rem
echo Checking prospero.unm.edu...
copy /a: /e /f /g /md /nr /s /u /v /w "ftp://prospero.unm.edu/*"  /[! src/* *.exe version.sav ]     %sRootFldr%\prospero.unm.edu\
echo.
echo Dirs made: %@format[5,%_copy_dirs]      Files copied: %@format[5,%_copy_files]         Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking jpsoft's event11.zip...
copy /a: /e /f /g /md /nr /s /u /v /w "http://jpsoft.com/downloads/plugins/event11.zip"                       %sRootFldr%\jpsoft.com\downloads\plugins\
echo.
echo Dirs made: %@format[5,%_copy_dirs]      Files copied: %@format[5,%_copy_files]         Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking jpsoft's everything.zip...
copy /a: /e /f /g /md /nr /s /u /v /w "http://jpsoft.com/downloads/plugins/everything.zip"                    %sRootFldr%\jpsoft.com\downloads\plugins\
echo.
echo Dirs made: %@format[5,%_copy_dirs]      Files copied: %@format[5,%_copy_files]         Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking jpsoft's fedutils9.zip
copy /a: /e /f /g /md /nr /s /u /v /w "http://jpsoft.com/downloads/plugins/fedutils9.zip"                     %sRootFldr%\jpsoft.com\downloads\plugins\
echo.
echo Dirs made: %@format[5,%_copy_dirs]      Files copied: %@format[5,%_copy_files]         Errors: %@format[5,%_copy_errors]
echo.
timer off
echo ---------------------------------
timer on
echo Checking Prospero's RegTweaks.btm
copy /a: /e /f /g /md /nr /s /u /v /w "http://prospero.unm.edu/dl/RegTweaks.btm"            c:\TCMD\Orig_RegTweaks\
echo.
echo Dirs made: %@format[5,%_copy_dirs]      Files copied: %@format[5,%_copy_files]         Errors: %@format[5,%_copy_errors]
echo.
timer off
::==================================================================================================================================
echo %@repeat[=,80]
plugin /u FixNames
  rem pkzipc -extr=update -dir %sRootFldr%\prospero.unm.edu\fixnames.zip c:\TCMD\Plugins\fixnames\
    rem
  rem what does [d -u- -uq1x1w1!tmp1.zip] below mean?
    rem
    rem    d  = Deletes files from archive.
    rem   -u- = Specifies how to update files in an archive and (or) how to create new archives.
    rem   -u  =
    rem   q1  = File exists in archive, but doesn't exist on disk. Copy file (copy from old archive to new)
    rem   x1  = File in archive is newer than the file on disk. Copy file (copy from old archive to new)
    rem   w1  = Can not be detected what file is newer (times are the same, sizes are different)
    rem   !{new_archive_name} = create new archive with the specified name and all options will refer to that new archive.
    rem
  "C:\Program Files\7-Zip\7z.exe" d -u- -uq1x1w1!tmp1.zip %sRootFldr%\prospero.unm.edu\fixnames.zip c:\TCMD\Plugins\fixnames\
  Pause
  rem list contents of tmp1.zip and pause
    "C:\Program Files\7-Zip\7z.exe" L tmp1.zip
  Pause
    rem extract to fixnames, updated files,
  "C:\Program Files\7-Zip\7z.exe" x -oc:\TCMD\Plugins\fixnames\ -y tmp1.zip
  Pause
plugin /l c:\TCMD\Plugins\fixnames\FixNames.dll
Pause
echo %@repeat[=,80]
::==================================================================================================================================
echo %@repeat[=,80]
plugin /u Sysutils
  rem pkzipc -extr=update -dir %sRootFldr%\lucky.syr.edu\4plugins\X64\sysutils64.zip c:\TCMD\Plugins\SysUtils64\
    rem
  rem what does [d -u- -uq1x1w1!tmp1.zip] below mean?
    rem
    rem    d  = Deletes files from archive.
    rem   -u- = Specifies how to update files in an archive and (or) how to create new archives.
    rem   -u  =
    rem   q1  = File exists in archive, but doesn't exist on disk. Copy file (copy from old archive to new)
    rem   x1  = File in archive is newer than the file on disk. Copy file (copy from old archive to new)
    rem   w1  = Can not be detected what file is newer (times are the same, sizes are different)
    rem   !{new_archive_name} = create new archive with the specified name and all options will refer to that new archive.
    rem
  "C:\Program Files\7-Zip\7z.exe" d -u- -uq1x1w1!tmp2.zip %sRootFldr%\prospero.unm.edu\SysUtils64.zip c:\TCMD\Plugins\SysUtils64\
  Pause
  rem list contents of tmp2.zip and pause
    "C:\Program Files\7-Zip\7z.exe" L tmp2.zip
  Pause
    rem extract to SysUtils64, updated files,
  "C:\Program Files\7-Zip\7z.exe" x -oc:\TCMD\Plugins\SysUtils64\ -y tmp2.zip
plugin /l c:\tcmd\Plugins\SysUtils64\sysutils64.dll
Pause
echo %@repeat[=,80]
::==================================================================================================================================
del tmp[12].zip
 
May 20, 2008
11,798
118
Syracuse, NY, USA
@vefatica - yes it was - as the TCMD.txt shows....
It was not clear whether the extra line was output by a COPY command or was a result of the select_all/copy/paste.

The extra line goes away when the "/G" (show percentage) is removed. That's a little odd because the percentage is over-written anyway when the copy is complete and the completion report appears on the line where the percentage was.
 
Apr 2, 2011
1,541
13
54
North Carolina, USA
From the TCMD.txt it would be lines: 67, 143, etc....

Seems to happen with any COPY command - with /G

Do you mean the /A:, ?
 
May 20, 2008
11,798
118
Syracuse, NY, USA
@vefatica - yopu said select all - so isn't that what "/A:" does? Selects all entries in a folder...
Um, you mentioned "select all" first (select all/copy in TCMD). I was just repeating your description of that action. At first, I didn't know whether you were complaining about that action introducing the extra newline. It was the COPY command, as we have discovered.
 
Apr 2, 2011
1,541
13
54
North Carolina, USA
@vefatica i had done a select all, copy in a TCMD tab, pasted into a Multiedit text file, then did a COPY tcmd.txt clip: then pasted into ta forum message LOL
 

Similar threads