Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 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
14-92667
Jumbot
2002-10-05 20:08
2002.10.28
СРОЧНО!!! HELP ME!!! SOS!!!


1-92489
Mav
2002-10-18 12:35
2002.10.28
Работа с булевыми выражениями


3-92379
cutter-pro
2002-10-07 16:41
2002.10.28
Прав ли электронный источник?


3-92361
Reanimator
2002-10-07 14:45
2002.10.28
как настроить язык программно в dbf?


3-92404
Олег Лузгин
2002-10-08 19:15
2002.10.28
Помогите с выбором, плиз





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский