I have used MObV2 for many years - it seems to fail under last Windows 10 update - i want to write a newer version.
Hi Jeff,
Currently using Capesofts Oddjob to run 7zip to unzip password encrypted files that we receive daily.
Works pretty well, you can capture and log the output
regards
Johan
I don’t have OddJob - could you send me some source examples (or whatever) that interface with OddJob and 7Zip
Thankyou in advance
Hi Jeff
Something along these lines
It should work, just rehash for your code and situation
regards
Johan
OddJobStm Class(JobObject)
zip_command_str stringtheory
jdrprocData stringtheory
loc:filename = 'file.zip'
loc:zip_output_folder = 'c:\output\'
!-p = thepassword <<< note the password format
loc:execute_str = 'c:\progra~1\7-zip\7z e %1 *.* -r -pthepassword -aoa -o%2'
zip_command_str.SetValue(loc:execute_str)
zip_command_str.replace('%1',clip(loc:file_name))
zip_command_str.replace('%2',clip(loc:zip_output_folder))
loc:execute_str = zip_command_str.GetValue()
jdrprocData.SetValue('')
result# = oddjobstm.CreateProcess(loc:execute_str, jo:SW_HIDE, false, , , , , jdrprocData, 0, 1)
loc:result_str = jdrprocData.GetValue()