Topic Path: Symbol Reference > Constants > InvalidWindowsFilenameChars Constant
ContentsIndexHome
PreviousUpNext
InvalidWindowsFilenameChars Constant

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

File
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  

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.