Tämän päivän kysymys- ja vastausistunto tulee meihin SuperUserin hyväksi - Stack Exchangein alaosasto, joka on yhteisöllinen Q & A-sivustojen ryhmittely.
Viestiikkunan kuvakaappaus Ben N: n (SuperUser) avulla.
Kysymys
SuperUser-lukija EdwardBlack haluaa tietää, miksi kansion nimeäminen ei ole mahdollista ._. hänen Windows 7 -järjestelmäänsä:
I just noticed that it is not possible to name a folder
._.
minun Windows 7 -järjestelmässä. Se nimetään uudelleen
._
sen sijaan. Joskus se katoaa heti nimeämisen jälkeen, mutta sitten ilmestyy näyttöä virkistävän. Windows näyttää olevan ongelma pisteiden lopussa tiedostonimen kanssa. Miksi tämä on?
Miksi kansion nimeäminen ei ole mahdollista ._. Windows 7: ssä?
Vastaus
SuperUser-avustaja Ben N: llä on vastaus meille:
Windows normally requires files to have either no extension or an extension that is at least one character long. It does not like zero length extensions (i.e. file names that end with a period). Folders can have extensions too, therefore, Windows does not let their names end with a period.
Source: From the article linked to by DavidPostill:
Use a period to separate the base file name from the extension in the name of a directory or file.
If you try to end a file or directory name with a period, Windows just assumes that you did not want an extension and thus removes it (even if you create it with the md command in a command prompt window).
Danger Zone
If you really want a folder name to end with period, you will need to use the magic raw name override sequence of ?. In a command prompt window, md \?C:path ocontainer._. will indeed create a folder named ._., but lots of programs will have problems with it, even Windows Explorer:
Such a directory can only be removed with the rd command followed by its ? name, or renamed with its short (8.3, dir /x) name.
Onko jokin asia lisättävä selitykseen? Kuulkaa kommentit. Haluatko lukea lisää vastauksia muilta tech-tajuilta Stack Exchange-käyttäjiltä? Katso koko keskusteluketju täältä.