Hello, The operating system are Windows XP, and Windows 10. 7z -? includes no explanation of the meaning of the switches. Regards
Hello, Maybe not buffer overrun. A much simpler example. The example below fails but if ./b/x.c_ is changed to b/x.c_ then it succeeds --File index ----------------------------------- index a/x.c ./b/x.c_ --Fails ----------------------------------- 7-Zip [32] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31 Open archive: pjs.7z Path = pjs.7z Type = 7z Physical Size = 253 Headers Size = 185 Method = LZMA2:12 Solid = + Blocks = 1 Scanning the drive: WARNING: The system cannot find the file...
Hello, This looks like a buffer overrun problem. The attached file fails but if ./tcap_reserve.h is changed to tcap_reserve.h then it succeeds. Regards
Hello, bs is not in the fie index. Regards
Hello RTFM -- There isnt one. (Google for it!) -ir@file What does that mean, am I supposed to guess? Anyway it does not work C:\linux\bs>7z a test.7z -ir@index -spf 7-Zip [32] 15.14 : Copyright (c) 1999-2015 Igor Pavlov : 2015-12-31 Scanning the drive: WARNING: The system cannot find the file specified. bs 0 files, 0 bytes Creating archive: test.7z Items to compress: 0 Files read from disk: 0 Archive size: 32 bytes (1 KiB) Scan WARNINGS for files and folders: bs : The system cannot find the file...
Hello, I have tried 7z 15.14 and 7z 15.19 Regards
Hello, I am very appreciative of your reply. I have a file called index. I want to create a file called bs.7z which contains the files in the index with the files recorded as having their relative path. So, for instance if index contains a/x.c b/x.c I want the archive bs.7z to contain a/x.c b/x.c I would even be happy if the index contained a/x.c b/x.c_ What command do I type at the MSDOS prompt to achieve this. I have googled for it. https://superuser.com/questions/545442/how-do-i-archive-with-subdirectories-using-the-7-zip-command-line-or-how-do-i...
The vanilla requirement is for a tool which archives files with relative file names with the ability to specfy which files are archived. It took 10 years to recognise that this was the case and then the -spf switch was introduced to do this. BUT THEN IT DOES NOT WORK! 7z a -spf -i@index bs.7z 7z a -spf bs.7z @index Both say WARNING: The system cannot find the file specified. bs 0 files, 0 bytes Creating archive: bs.7z Items to compress: 0 Files read from disk: 0 Archive size: 32 bytes (1 KiB) Scan...