v1.0 с CRM
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
if wscript.arguments.count<>4 then wscript.quit
|
||||
if wscript.arguments.count<>6 then wscript.quit
|
||||
|
||||
set sh = createobject("wscript.shell")
|
||||
set fs = createobject("scripting.filesystemobject")
|
||||
dir=fs.getparentfoldername(wscript.scriptfullname)
|
||||
sh.run """"&dir&"\doWork.bat"&""" """&wscript.arguments(0)&""" """&wscript.arguments(1)&""" """&wscript.arguments(2)&""" """&wscript.arguments(3)&"""",0
|
||||
sh.run """"&dir&"\doWork.bat"&""" """&wscript.arguments(0)&""" """&wscript.arguments(1)&""" """&wscript.arguments(2)&""" """&wscript.arguments(3)&""" """&wscript.arguments(4)&""" """&wscript.arguments(5)&"""",0
|
||||
rem &wscript.arguments(0)
|
||||
@@ -8,6 +8,8 @@ set shotpath=%2
|
||||
set kppath=%3
|
||||
set netpath=%4
|
||||
set mgrPath=%cd%\mogrify.exe
|
||||
set defvidpath=%5
|
||||
set vidpath=%6
|
||||
rem convert screenshots to jpg
|
||||
cd /d %shotpath%
|
||||
%mgrPath% -resize x1080 -quality 80 -format jpg *.png
|
||||
@@ -18,5 +20,9 @@ cd %kppath%
|
||||
%mgrPath% -format jpg *.png
|
||||
del *.png
|
||||
|
||||
rem move video to client folder
|
||||
robocopy %vidpath% %defvidpath% /mov
|
||||
|
||||
rem copy all data to network
|
||||
robocopy %defpath% %netpath% /mir
|
||||
robocopy %defpath% %netpath% /mir
|
||||
|
||||
|
||||
Reference in New Issue
Block a user