SYNOPSIS
pathchk
[
DESCRIPTION
pathchk checks one or more pathnames for validity and portability (based on the underlying file system). A pathname is valid if you can use it to create or access a file without causing a syntax error. A pathname is portable if the file system does not truncate the name when it tries to use it. pathchk writes an error message indicating the error detected and the erroneous path name if any pathname
- is longer than PATH_MAX bytes;
- contains a component longer than NAME_MAX bytes;
- contains any component in a directory that is not searchable; or
- contains any character in any component that is not valid.
Options
DIAGNOSTICS
Possible exit status values are:
PORTABILITY
POSIX.2. x/OPEN Portability Guide 4.0. Windows 10. Windows Server 2016. Windows Server 2019. Windows 11. Windows Server 2022. Windows Server 2025.
AVAILABILITY
PTC MKS Toolkit for Power Users
PTC MKS Toolkit for System Administrators
PTC MKS Toolkit for Developers
PTC MKS Toolkit for Interoperability
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.5 Documentation Build 40.