Форум: "Основная";
Текущий архив: 2002.10.28;
Скачать: [xml.tar.bz2];
ВнизWorks with WINRAR or WINZIP ... Найти похожие ветки
← →
KidMan (2002-10-15 22:55) [0]Приветствую Мастеров!
Подскажите пожалуйста как через shellexecute запустит архиватор рар или зип чтобы он автоматически архивировал определенный каталог и с конкретным именем создаваемого архива указанного программой...
Заранее всем спасибо!
P.S. Знаете... а ВЫ мне ВСЕ очень помогли и не раз... Спасибо огромное!
← →
Jeer (2002-10-15 23:03) [1]Ключи определяются конкретным архиватором.
Примеров ShellExecute масса.
Поиск...
← →
KidMan (2002-10-15 23:08) [2]И как же определить эти ключи именно для рар или зип?
Заранее благодарю!
← →
Jeer (2002-10-15 23:38) [3]Вот дела..
А из коммандной строки слабо запустить с параметром ?
RAR 2.05 Copyright (c) 1993-98 Eugene Roshal 21 September 1998
Registered to TSerg
Usage: RAR <command> -<switch 1> -<switch N> <archive> <files...>
<@listfiles...> <path_to_extract\>
Specify empty listfile name to read names from stdin
<Commands>
a Add files to archive u Update files in archive
f Freshen files in archive m[f] Move to archive [files only]
x Extract files with full path e Extract files to current directory
d Delete files from archive cw Write archive comment to file
t Test archive files p Print file to stdout
c Add archive comment cf Add files comment
k Lock archive s Convert archive to SFX
r Repair archive rr[N] Add data recovery record
l[t] List archive [technical] v[t] Verbosely list archive [technical]
<Switches>
rr[N] Add data recovery record mm[f] Multimedia compression [force]
o+ Overwrite existing files o- Do not overwrite existing files
y Assume Yes on all queries sfx Create SFX archives
cl Convert names to lower case cu Convert names to upper case
f Freshen files u Update files
c- Disable comments show ed Do not add empty directories
ep Exclude paths from names ep1 Exclude base dir from names
tk Keep original archive time tl Set archive time to latest file
s[e,<N>] Create solid archive
s- Disable solid archiving
r Recurse subdirectories
r0 Recurse subdirectories for wildcard names only
cfg- Disable read configuration
md<size> Set dictionary size in Kb (64,128,256,512,1024 or A,B,C,D,E)
z<file> Read archive comment from file
x<file> Exclude specified file
x@<list> Exclude files in specified list file
x@ Read file names to exclude from stdin
v Create volumes with size autodetection
v<size>[k,b] Create volumes with size=<size>*1000 [*1024, *1]
vd Erase disk contents before creating volume
p<password> Set password
p- Do not query password
kb Keep broken extracted files
w<path> Assign work directory
m<0..5> Set compression level (0-store...3-default...5-maximal)
e<attr> Set file exclude attributes
av Put authenticity verification (registered versions only)
av- Disable AV check
ds Disable name sort for solid archive
ilog Log errors to file (registered versions only)
isnd Enable sound
ierr Send all messages to stderr
inul Disable all messages
ri<P>[:<S>] Set priority (0-default,1-min..15-max) and sleep time in ms
ac Clear Archive attribute after compression
ao Add files with Archive attribute set
← →
KidMan (2002-10-15 23:47) [4]Господи батенька...ну зачем мне командная строка то....? Я такие весЧи читал еще в вин95... (((
← →
Jeer (2002-10-15 23:59) [5]А что Вам тогда не понятно ?
ShellEx.. запускает ВНЕШНЮЮ программу.
С параметрами.
Мужайтесь.
← →
KidMan (2002-10-16 00:05) [6]Холодность вашего отношения к пониманиманию страданий других просто поражает более чем "Титаник" банальный айсбег! ;))
← →
KidMan (2002-10-16 00:33) [7]И все? (((
← →
Znaika (2002-10-16 00:54) [8]Так ведь непонятно - что непонятно.
Shell.. запускает внешнюю программу, которой является Ваш любой архиватор.Запускается он есс-но с нужными Вам параметрами и известными Вам еще со времен DOS или Win95.
Пример что-ли нужен ?
← →
dim- (2002-10-16 03:34) [9]Если интересно, можешь посмотреть исходники http://www.dimeda.by.ru/files/ArhIsh6.zip Там архиватор Rar запускается с параметрами
← →
dim- (2002-10-16 03:36) [10]Ошибочка ,надо без www:
http://dimeda.by.ru/files/ArhIsh6.zip
Страницы: 1 вся ветка
Форум: "Основная";
Текущий архив: 2002.10.28;
Скачать: [xml.tar.bz2];
Память: 0.47 MB
Время: 0.012 c