我目前正在使用:
if ParamStr(1)<>'%1' then
begin
address.Text:=ParamStr(1);
autoconfigfile;
end;
获取用于通过文件关联打开文件的文件的名称。
我现在想开发对多个文件进行操作的能力。即,如果我选择 5 个文件并右键单击并选择使用“EncryptionSystem”打开。我有注册表项:
reg.OpenKey('*\shell\Encrypt\command', true);
reg.WriteString('','C:\Program Files\EncryptionSystem\EncryptionSystem.exe "%1"');
reg.CloseKey;
为所有文件添加右键打开功能。然后我想要检测的能力
- 多少个文件
- 每个文件的路径名