zoukankan      html  css  js  c++  java
  • VBS获取系统路径

    1 Set fso = CreateObject("Scripting.FileSystemObject")
    2 path = fso.GetSpecialFolder(0)

    GetSpecialFolder可以传几个参数,如下:

    Constant Value Description
    WindowsFolder 0 The Windows folder contains files installed by the Windows operating system.
    SystemFolder 1 The System folder contains libraries, fonts, and device drivers.
    TemporaryFolder 2 The Temp folder is used to store temporary files. Its path is found in the TMP environment variable.
  • 相关阅读:
    C# 正则表达式
    C# 预处理命令
    C# System.Collections
    C#文件流 System.IO和对文件的读写操作
    c# 网站发布
    C# 数据库
    c# 数据存储过程 存储函数
    insert 插入
    SVN远程管理
    【Win】印象笔记快捷键
  • 原文地址:https://www.cnblogs.com/coderzh/p/968581.html
Copyright © 2011-2022 走看看