User Tools

Site Tools


characters_filenames

This is an old revision of the document!


Characters in file names

Windows Powershell

The Windows Powershell (v. 2 in Win7) has a function `GetInvalidFileNameChars()` :

ForEach ($c in [System.IO.Path]::GetInvalidFileNameChars()) { $i=([int]$c); "{0,3:d}    {1,2:x2}    {2,1}" -f $i,$i,$c }
 34    22    "
 60    3c    <
 62    3e    >
124    7c    |
  0    00
  1    01    ☺
  2    02    ☻
  3    03    ♥
  4    04    ♦
  5    05    ♣
  6    06    ♠
  7    07
  8    08
  9    09
 10    0a

 11    0b    ♂
 12    0c    ♀
 13    0d
 14    0e    ♫
 15    0f    ☼
 16    10    ►
 17    11    ◄
 18    12    ↕
 19    13    ‼
 20    14    ¶
 21    15    §
 22    16    ▬
 23    17    ↨
 24    18    ↑
 25    19    ↓
 26    1a    →
 27    1b    ←
 28    1c    ∟
 29    1d    ↔
 30    1e    ▲
 31    1f    ▼
 58    3a    :
 42    2a    *
 63    3f    ?
 92    5c    \
 47    2f    /
/docs/dokuwiki/data/attic/characters_filenames.1569087064.txt.gz · Last modified: 2019-09-21 19:31:04 by mi