File name function

zhaozj2021-02-16  88

1. File name function file name function can operate on the name of the file, the subdirectories, drives, and extensions. The following table lists these functions and its features.

Function Description ExpandFileName () Returns the full path of the file (including drive, path) extractFileExt () Extract Filename () extractfilename () from the file name ExtractFileName () extractfilepath () extractfilepath () from the file name. ExtractFileDir () Extract File Name from the File Name ExtractFileDrive () Extract the drive name ChangeFileExt () change file extensionExt () EXPANDUNCFILENAME () Returns the full path of the file with the network drive ExtractRACTRACTRACTRACTRACTRACTRACTRACTRACTRATIVEPATH () Patted relative path information from the file name ExtractShortPathname () Transforms file names to DOS 8 · 3 format Matchesmask () checks if the file matches the specified file name format

转载请注明原文地址:https://www.9cbs.com/read-13156.html

New Post(0)