Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

07_check_file_paths.sh - Find Windows-style file paths in code

Description

For each program file in generated/programs-list.txt (from 04_list_program_files.sh), counts Windows-style paths (backslashes), drive letters (C:\), Unix-style paths, and files that mix both. Files under ado/ and .ado files are skipped. Backslash paths and drive letters prevent code from running on Linux and macOS.

Usage

./automations/07_check_file_paths.sh <directory> [tag]

Outputs