Sub Main()
Dim CmdLine as String '存放命令行参数
CmdLine=UCase(Command$) '转换为大写

IF Not(instr(CmdLine,"/P")=0) Then '预览模式

ElseIF Not(instr(CmdLine,"/S")=0) Then '设置模式

Else '运行模式。

End IF
End Sub