Command: PathAddTrailingBackslash
- Updated2023-02-21
- 2 minute(s) read
Command: PathAddTrailingBackslash
Adds a trailing backslash \ to a path. The path then fulfils the DIAdem requirements. If the path already ends with a backslash, DIAdem does not add a second backslash.
Input Parameters
InputPath |
Suggests a path. |
Return Parameters
| ReturnValue | The return value is a String type. |
The following example adds a trailing backslash "\" to a path.
| VBScript | Python |
Call MsgBox(PathAddTrailingBackslash("d:\Test")) '=> "d:\Test\" Call MsgBox(PathAddTrailingBackslash("d:\Test\")) '=> "d:\Test\"
Related Topics
Command: DataFileCopy | Command: DataFileDelete | Command: DataFileLstGet | Command: DataFileMove | Command: DataFileRename | Command: DataFileSelDlg | Command: FolderAttrClear | Command: FolderAttrSet | Command: FolderCopy | Command: FolderCreate | Command: FolderDelete | Command: FolderMove | Command: FolderRename | Command: FolderUnzip | Command: FolderZip | Function: DataFileSize | Function: FileAttrCheck | Function: FileDateGet | Function: FileSize | Function: FilEx | Function: FolderAttrCheck | Function: FolderDateGet | Function: FolderExist | Function: FolderSize

