[英]what is the meaning of this VBA code
I have a part of VBA code here, 我在这里有一部分VBA代码,
what is the meaning of "-i" here ? “ -i”在这里是什么意思?
strCommand = Chr(34) & p_strPathConsole & Chr(34) & " -i " & Chr(34) & p_strPathDatabase & "\input.csv" & Chr(34) 'Erstelle den Befehl zum Aufruf der Konsole
Set objShell = CreateObject("WScript.Shell") 'Erstelle ein Objekt für Shell
intShellReturn = objShell.Run(strCommand, 0, True) 'Konsolenaufruf und warte bis Rückgabewert existiert
thanks in advance! 提前致谢!
就像Tony Dallimore猜到的那样,它似乎是一个参数(名为in-line的内联参数),“-i”可能代表“ input”,而下一个附加的字符串是输入文件的路径,恰好是csv文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.