Discussion forum for all Windows batch related topics.
Moderator: DosItHelp
-
Meerkat
- Posts: 89
- Joined: 19 Jul 2015 02:27
- Location: Philippines
#1
Post
by Meerkat » 27 Jul 2015 09:44
Maybe out of Batch Scripting, but why is that the question mark char (?) and colon (:) are not allowed to be included in a filename?
I know that other symbols not allowed are used in Batch (e.g. > is for redirection)...
Meerkat

-
npocmaka_
- Posts: 517
- Joined: 24 Jun 2013 17:10
- Location: Bulgaria
-
Contact:
#2
Post
by npocmaka_ » 27 Jul 2015 10:57
'?' is a wildcard (any single appearing symbol).As well as '*' . Have on mind that > and < are also wildcards.
':' indicates a drive and can be in a full file name only once (with the exception for the alternate data streams).
-
foxidrive
- Expert
- Posts: 6031
- Joined: 10 Feb 2012 02:20
#3
Post
by foxidrive » 27 Jul 2015 20:43
npocmaka_ wrote:Have on mind that > and < are also wildcards.
They work as wildcards here and there, but they aren't officially recognised wildcards, true?