F1 作为 shell 的参数?
F1 as an arguement to shell?
我只是想了解我正在使用的这段代码。我可以找到单个数字的来源@ https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/shell-function
虽然我在那里或网上没有看到任何东西
Shell ("rundll32.exe """ & App.Path & "\SomeFile.dll"",F1")
'This is from the linked source earlier Shell (pathname, windows style)
它也可能使用 rundll32.exe 添加可选的 F1 参数
https://support.microsoft.com/en-us/help/164787/info-windows-rundll-and-rundll32-interface
虽然我也没有在 F1 上看到任何文档
我可能误读了这些引语。但我很确定它会像这样在路径中传递。 "rundll32.exe\App.Path\somefile.dll" 第二个参数是 F1
如果有人能告诉我我的引述有误,并且 F1 是一个论点就足够了。如果它不是 windows 风格。这意味着什么会很棒。谢谢。
如所写,引号保持原样,F1
不是 Shell
的参数。它是 rundll32
的参数,也是 SomeFile.dll
的入口点。这在您引用 rundll32
的 link 中进行了解释。
我只是想了解我正在使用的这段代码。我可以找到单个数字的来源@ https://docs.microsoft.com/en-us/office/vba/language/reference/user-interface-help/shell-function 虽然我在那里或网上没有看到任何东西
Shell ("rundll32.exe """ & App.Path & "\SomeFile.dll"",F1")
'This is from the linked source earlier Shell (pathname, windows style)
它也可能使用 rundll32.exe 添加可选的 F1 参数 https://support.microsoft.com/en-us/help/164787/info-windows-rundll-and-rundll32-interface
虽然我也没有在 F1 上看到任何文档
我可能误读了这些引语。但我很确定它会像这样在路径中传递。 "rundll32.exe\App.Path\somefile.dll" 第二个参数是 F1
如果有人能告诉我我的引述有误,并且 F1 是一个论点就足够了。如果它不是 windows 风格。这意味着什么会很棒。谢谢。
如所写,引号保持原样,F1
不是 Shell
的参数。它是 rundll32
的参数,也是 SomeFile.dll
的入口点。这在您引用 rundll32
的 link 中进行了解释。