extree.vbs

来自「Apress - Managing Enterprise Systems Wit」· VBS 代码 · 共 15 行

VBS
15
字号
'extree.vbs
Set objShell = CreateObject("WScript.shell")

'execute the DOS tree command
Set objRun = objShell.Exec ("%Comspec% /c tree e:\")

'loop while application executes
  'build output text with results of tree command
  strText =  strText & objRun.StdOut.ReadAll


'output results
WScript.Echo strText
Set objShell = Nothing

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?