File Path (Windows) generator

Last modified: April 3, 2025

The File Path (Windows) generator creates realistic and diverse file paths that mimic typical directory structures, drive names, and file types found in Windows environments. This type of generator is ideal for testing file system operations, application behaviors with file paths, or scenarios where diverse file path structures are required.

Generator properties

The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.

Short name Example of generated data Data type matching Country-specific
File Path (Win) C:\Document and Settings\Temp\leitherand.docxD:\Program Files\Test\tied.exeE:\Inetpub\Temp\teith.txt … character varyingcharactertext Default

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name starts with ‘Win’ and ends with ‘Folder’ or ‘Path’, with any or no characters in between, regardless of the table name.
  • The column name ends with ‘Folder’ or ‘Path’, preceded by any or no characters, regardless of the table name.
  • The column name starts with ‘log’ and ends with ‘dir’, with any or no characters in between, regardless of the table name.
  • The column name is ‘dir’, regardless of the table name.

Configure additional settings

The generator produces data based on a regular expression. Since it is built on the RegExp generator, see Regular Expression generator to customize settings and understand the correct usage of syntax.

Preview of the column data generated by the File Path (Windows) generator

File Path (Windows) generator