Internet Direct (Indy)
Home
PreviousUpNext
InvalidWindowsFilenameChars Constant

Identifies characters which cannot be used in folder path names, shortcuts, or file names on the Windows platform.

Pascal
InvalidWindowsFilenameChars = '\/:*?"<>|';

InvalidWindowsFilenameChars is a constant that identifies characters which cannot be used in folder path names, shortcuts, or file names on the Windows platform. 

Characters that are valid for naming files, folders, or shortcuts include any combination of letters (A-Z) and numbers (0-9), plus the following special characters: 

 

Character 
Description 
Accent circumflex (caret) 
Ampersand 
Apostrophe (single quotation mark) 
At sign 
Brace left 
Brace right 
Bracket opening 
Bracket closing 
Comma 
Dollar sign 
Equal sign 
Exclamation point 
Hyphen 
Number sign 
Parenthesis opening 
Parenthesis closing 
Percent 
Period 
Plus 
Tilde 
Underscore 

 

For additional information, please refer to the following website: 

Error Message: Filename is Invalid or Cannot Contain Any of the Following Characters  

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.