Click here to Skip to main content
15,906,335 members

Comments by EdithMS (Top 12 by date)

EdithMS 27-Aug-15 15:17pm View    
You are right

Sorry for my question

Thanks again Richard
EdithMS 27-Aug-15 15:11pm View    
Richard

one question, the script works good, copy the file to the directory and then delete the file of the source, now in my log appears all the process with percentage is a very very very long log like this jejeje

-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------

Started : Thu Aug 27 12:28:23 2015

Source : \\diva-disk.mam\youtube_sd\2transcode_tmp\
Dest : \\diva-disk.mam\youtube_sd\2transcode\

Files : TORMENTA_EN_EL_PARAISO-72-200807272963.mp4

Options : /COPY:DAT /MOV /R:1000000 /W:30

------------------------------------------------------------------------------

1 \\diva-disk.mam\youtube_sd\2transcode_tmp\
New File 2.4 g TORMENTA_EN_EL_PARAISO-72-200807272963.mp4
0.0%
0.0%
0.0%
0.1%
0.1%
0.2%
0.2%
0.2%
0.3%
0.3%
0.4%
0.4%
0.4%
0.5%
0.5%
0.6%
0.6%
0.6%
0.7%
0.7%
0.8%
................ continues......
99.9%
99.9%
99.9%
99.9%
99.9%
99.9%
99.9%
99.9%
99.9%
99.9%
99.9%
99.9%
100%

------------------------------------------------------------------------------

Total Copied Skipped Mismatch FAILED Extras
Dirs : 1 0 1 0 0 0
Files : 1 1 0 0 0 0
Bytes : 20.461 g 20.461 g 0 0 0 0
Times : 0:05:09 0:05:09 0:00:00 0:00:00


Speed : 71019870 Bytes/sec.
Speed : 4063.789 MegaBytes/min.

Ended : Thu Aug 27 12:37:41 2015



Exist any form for suprime this string go the percentage ??

Thanks again Richard
EdithMS 27-Aug-15 12:21pm View    
Richard !!! thank you so so so so much !!!!!
its working !!!!
EdithMS 26-Aug-15 13:41pm View    
in my app (Rhozet) accept this arguments

A Command Line Notifier can be used to trigger external applications on job start, completion, or error. You can use string replacement tokens in your command line execution.

%jobguid% - Unique GUID for this task
%jobname% - Unique name for this task
%source% - Full source path and name
%destinationname% - Destination path and filename (only valid in completion notifications)
%errormessage% - Error message (only valid in error notifications)

Note: The quotation mark is not part of the token

Examples of a command line text:

c:\myprog.exe %source%
c:\myprog.exe "%destinationname%"

--------------------------------------

when i use a simple batch file with this line: MOVE %1 %2

works very good, move the file go to the source and move the files to the destiny but the log don't show me the path in case of error

move %1 %2 >> D:\test\log_good.txt 2>>D:\test\log_error.txt

ITS WORKS but the log don't show the path

this is my simple script and its works ! but i need see in the logs the source and destination path
for the moment the log_good is: 1 files moved

and the log_errors is:
Hide Copy Code
The system cannot find the file specified.
or
The process cannot access the file because it is being used by another process.
I need know in what path occurs the error but i don't know how set the variable %1 (my source) and %2 (my destination) in my logs

my variables source and destiny its send by my app (Rhozet) its for that im use the parameters %1 for the source and %2 for the destiny



Im try with robocopy because send me the path in the log but don't move the files because the file looks like a folder ..


thanks for your help Richard
EdithMS 26-Aug-15 12:47pm View    
Hello Mika, Richard isn't work :(

the same error with

robocopy %1 %2 %3 /MOV /LOG+:D:\test\mueve.txt

robocopy don't move the file and view all path like a directory

my log error is:


-------------------------------------------------------------------------------
ROBOCOPY :: Robust File Copy for Windows
-------------------------------------------------------------------------------

Started : Wed Aug 26 10:53:05 2015

Source : \\diva-disk.mam\youtube_hd\2transcode_tmp\LA_SOMBRA_DEL_PASADO-118-201505154991_.mp4\
Dest : \\diva-disk.mam\youtube_hd\2transcode\

Files : *.*

Options : *.* /COPY:DAT /MOV /R:1000000 /W:30

------------------------------------------------------------------------------

2015/08/26 10:53:05 ERROR 267 (0x0000010B) Accessing Source Directory \\diva-disk.mam\youtube_hd\2transcode_tmp\LA_SOMBRA_DEL_PASADO-118-201505154991_.mp4\
The directory name is invalid.