Get the App
SLTechnology News&Howtos  ›  Development  › 

The use of GetAbsolutePathName method in VBS

Shulou Source: shulou.com Published: 2022-06-03 19:40:30 10月02日 Update

This article mainly explains "the use of GetAbsolutePathName method in VBS". The content of the explanation in this article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the use of GetAbsolutePathName method in VBS".

Returns a complete and meaningful path from the specified path provided.

Object.GetAbsolutePathName (pathspec)

Parameter object

Required. Should be the name of FileSystemObject.

Pathspec

Required. The specified path that is to be converted to a complete and meaningful path.

Description

If the path provides a full reference starting at the root of the specified drive, the path is complete and meaningful. If the path specifies the root folder of a mapped drive, the path can only end with a path delimiter (\).

Assuming that the current directory is c:\ mydocuments\ reports, the following table illustrates the actions performed by the GetAbsolutePathName method.

Pathspec returns the path "c:"c:\ mydocuments\ reports"cmydocuments.."c:\ mydocuments"c:\\ may97"c:\ mydocuments\ reports\ *. *\ may97"region1"c:\ mydocuments\ reports\ region1"c:\..\ mydocuments"c:\ mydocuments"

Undefined

Thank you for your reading, the above is the content of "the use of GetAbsolutePathName method in VBS". After the study of this article, I believe you have a deeper understanding of the use of GetAbsolutePathName method in VBS, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Tags: Path method meaning learning content root directory driver driver delimiter parameter name that is ideas situations files folders articles more directories knowledge Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno Shulou Technology MariaDB Shulou Tech Info Apple