does it support

Discuss RoboTask here
Post Reply
msbtrp23
Posts: 12
Joined: Mon Sep 03, 2012 7:37 am

does it support

Post by msbtrp23 »

Does robotask support arj archive extraction?
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

does it support

Post by Oleg »

You have to use external command-line archiver.
Native utilities ARJ.EXE and ARJ32.EXE are free for personal and home usage. This is in their FAQ

7zip - free open source utility. It can extract files from ARJ archive.
Last edited by Oleg on Tue Nov 27, 2012 10:46 am, edited 1 time in total.
msbtrp23
Posts: 12
Joined: Mon Sep 03, 2012 7:37 am

does it support

Post by msbtrp23 »

thanks!how can i extract any incoming files to specific folder with 7zip what command line should i use?
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

does it support

Post by Oleg »

Install 7zip and run command line utility 7z.exe without parameters:


Usage: 7z <command> [<switches>...] <archive_name> [<file_names>...]
       [<@listfiles...>]

<Commands>
a: Add files to archive
b: Benchmark
d: Delete files from archive
e: Extract files from archive (without using directory names)
l: List contents of archive
t: Test integrity of archive
u: Update files to archive
x: eXtract files with full paths
<Switches>
-ai[r[-|0]]{@listfile|!wildcard}: Include archives
-ax[r[-|0]]{@listfile|!wildcard}: eXclude archives
-bd: Disable percentage indicator
-i[r[-|0]]{@listfile|!wildcard}: Include filenames
-m{Parameters}: set compression Method
-o{Directory}: set Output directory
-p{Password}: set Password
-r[-|0]: Recurse subdirectories
-scs{UTF-8 | WIN | DOS}: set charset for list files
-sfx[{name}]: Create SFX archive
-si[{name}]: read data from stdin
-slt: show technical information for l (List) command
-so: write data to stdout
-ssc[-]: set sensitive case mode
-ssw: compress shared files
-t{Type}: Set type of archive
-u[-][p#][q#][r#][x#][y#][z#][!newArchiveName]: Update options
-v{Size}[b|k|m|g]: Create volumes
-w[{path}]: assign Work directory. Empty path means a temporary directory
-x[r[-|0]]]{@listfile|!wildcard}: eXclude filenames
-y: assume Yes on all queries


I think you can use -o option.

Also I do so usually:
select target folder (see Change folder action)
and use such command line:
7z.exe x "c:\Full Path\with subfolders\MyArchive.arj"

This command forces extraction into current folder
msbtrp23
Posts: 12
Joined: Mon Sep 03, 2012 7:37 am

does it support

Post by msbtrp23 »

super! 7z.exe x "c:\Full Path\with subfolders\MyArchive.arj" really heped me. Thank you!
pwildman
Posts: 5
Joined: Fri Feb 25, 2022 3:34 am

Re: does it support

Post by pwildman »

How would this work if you were to use the file loop and you don't know the name of the file before you run the automation?
iammiro
Posts: 1
Joined: Thu Dec 08, 2022 12:25 pm

Re: does it support

Post by iammiro »

pwildman wrote: Mon Jul 25, 2022 6:01 pm How would this work if you were to use the file loop and you don't know the name of the file before you run the automation?
Its also a good and valid question. I also want to how to know the name of the previous file before run automation.
oleg, please reply us.
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: does it support

Post by Oleg »

iammiro wrote: Thu Dec 08, 2022 12:29 pm
pwildman wrote: Mon Jul 25, 2022 6:01 pm How would this work if you were to use the file loop and you don't know the name of the file before you run the automation?
Its also a good and valid question. I also want to how to know the name of the previous file before run automation.
oleg, please reply us.
The name of file is identifier of the file.
If you rename some file them this mean than old file has ben removed and new file with new name has been created
Oleg Yershov
Post Reply