Opening filenames with colon (“:”) in Windows 7

我的梦境 提交于 2019-11-30 15:11:53

To quote from http://support.microsoft.com/kb/289627:

Windows and UNIX operating systems have restrictions on valid characters that can be used in a file name. The list of illegal characters for each operating system, however, is different. For example, a UNIX file name can use a colon (:), but a Windows file name cannot use a colon (:). ...

To enable file name character mapping, create a character translation file and add a registry entry.

For example, the following maps the UNIX colon (:) to a Windows dash (-):

0x3a : 0x2d ; replace client : with - on server

When you have created the file name character translation file, you must specify its name location in the system registry. To register the path and name of the file:

  • Use Registry Editor to locate the following registry key:
  • HKEY_LOCAL_MACHINE\Software\Microsoft\Server For NFS\CurrentVersion\Mapping
  • Edit the CharacterTranslation (REG_SZ) value.
  • Enter the fully qualified path name of the file name character translation file. For example, C:\Sfu\CTrans.txt.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!