Ticket #37431

PeaZip Command Line doesn't work

Date d'ouverture: 2017-08-09 18:13 Dernière mise à jour: 2017-08-10 19:29

Rapporteur:
Propriétaire:
Type:
État:
Ouvert [Owner assigned]
Composant:
(Aucun)
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun

Détails

My running version is
PeaZip release 6.4.1 - Windows Build

In my Windows 10, I added "C:\Program Files (x86)\PeaZip\" to environmental variable %PATH%. I open command prompt, run peazip -add2pea 01.jpg 03.jpg 04 and nothing happens. No pea archive generated.

C:\work\peazip>dir
Volume in drive C is Windows
Volume Serial Number is 44EC-5869

Directory of C:\work\peazip

2017/08/09 下午 05:03 <DIR> .
2017/08/09 下午 05:03 <DIR> ..
2017/07/31 下午 10:03 116,958 01.jpg
2017/07/31 下午 10:00 35,457 03.jpg
2017/08/09 下午 04:58 <DIR> 04
2 File(s) 152,415 bytes
3 Dir(s) 71,384,326,144 bytes free

C:\work\peazip>peazip -add2pea 01.jpg 03.jpg 04

C:\work\peazip>dir
Volume in drive C is Windows
Volume Serial Number is 44EC-5869

Directory of C:\work\peazip

2017/08/09 下午 05:03 <DIR> .
2017/08/09 下午 05:03 <DIR> ..
2017/07/31 下午 10:03 116,958 01.jpg
2017/07/31 下午 10:00 35,457 03.jpg
2017/08/09 下午 04:58 <DIR> 04
2 File(s) 152,415 bytes
3 Dir(s) 71,384,326,144 bytes free

Ticket History (3/3 Histories)

2017-08-09 18:13 Updated by: mikimotoh
  • New Ticket "PeaZip Command Line doesn't work" created
2017-08-10 03:15 Updated by: giorgio_tani
Commentaire

Does it work on your machine if you use absolute paths for input items (i.e. C:\work\peazip\01.jpeg instead of 01.jpeg etc)?

2017-08-10 19:29 Updated by: mikimotoh
Commentaire

Hi, Thank you. It works if I use absolute path. However, why cannot I assign the output pea file name in the command line? The generated pea file name will always be the first jpg name.

c:\work\peazip>peazip -add2pea c:\work\peazip\01.jpg c:\work\peazip\03.jpg c:\work\peazip\04\02.jpg  austin.pea

c:\work\peazip>dir
 Volume in drive C is Windows
 Volume Serial Number is 44EC-5869

 Directory of c:\work\peazip

2017/08/10  下午 06:25    <DIR>          .
2017/08/10  下午 06:25    <DIR>          ..
2017/07/31  下午 10:03           116,958 01.jpg
2017/08/10  下午 06:25           149,407 01.pea
2017/07/31  下午 10:00            35,457 03.jpg
2017/08/09  下午 04:58    <DIR>          04
               3 File(s)        301,822 bytes
               3 Dir(s)  70,187,720,704 bytes free

Attachment File List

No attachments

Modifier

Please login to add comment to this ticket » Connexion