Hello! Can anyone show the source code of a simple extension written in Delphi 7 that does not use any auxiliary units and works with PHP 8? There should be only one function in this extension that accepts one string parameter and returns a string.
This command: 7z.exe a Arch1 Dir1 archiving the Dir1 directory with all its files and subdirectories is expected. But that command: 7z.exe a Arch1 Dir1 -r- which does the same thing, is absolutely unexpected. Also absolutely unexpected is the fragment: -x!*\ You are trying to help stupid users without thinking that you are creating problems for experienced users. If someone doesn't know which switches to use, then that's their problem; let them learn the syntax.
Is the "-ms" switch undocumented? ) It is not mentioned anywhere in the reference manual.
This is a very strange feature of the "-r " switch, designed for stupid users. Then why doesn't the help reference say anything about it? In theory, it should be written like this: the "-r " switch is smart and not always manageable by the user. To be honest, you remind me of my mother. Years ago, she used to fry potatoes for me. I always asked her to fry it without onions. But despite my requests, she always fried it with onions. "It tastes better with onions," she used to say.
This is a very strange feature of the "-r " switch, designed for stupid users. Then why doesn't the help reference say anything about it? In theory, it should be written like this: the "-r " switch is smart and not always manageable by the user. To be honest, you remind me of my mother. Years ago, she used to fry potatoes for me. I always asked her to fry it without onions. But despite my requests, she always fried it with onions. "It tastes better with onions," she said.
Let's look at another example. Suppose we have these files: [Dir1] File1_1.txt File1_2.txt File1.txt File2.txt File3 Square brackets stand for a directory. Space indents indicate that the files are nested in a directory. The following three commands will perform the same action: they will archive a directory and 5 files. 7z.exe a Arch1 7z.exe a Arch1 * 7z.exe a Arch1 * -r- And this command will only archive 2 files: "File1.txt" and "File2.txt". 7z.exe a Arch1 *.* Question: what command should I run...
Let's look at another example. Suppose we have these files: [Dir1] File1_1.txt File1_2.txt File1.txt File2.txt File3 Square brackets stand for a directory. Space indents indicate that the files are nested in a directory. The following three commands will perform the same action: they will archive a directory and 5 files. 7z.exe a Arch1 7z.exe a Arch1 * 7z.exe a Arch1 * -r- And this command will only archive 2 files: "File1.txt" and "File2.txt". 7z.exe a Arch1 *.* Question: what command should I run...
In 7-Zip version 21.02 (x86) there is a bug with the "-r" switch, which was still in version 19.00 (x86). The instructions say that the "-r-" switch is the default switch. In fact, the default switch is the "-r " switch, and you can't change it. Even if you specify the "-r-" switch, the files are archived recursively (with subdirectories). My OS is Windows 10 Pro (20H2).