The prompt says that if I install the software into a directory with spaces:
提示说如果我将软件安装到带空格的目录中:
the rebuild build tool used by the D Shared Source System will fail to build
D共享源系统使用的重建构建工具将无法构建
and that I will be
而且我会
forced to reinstall in a different location
*在不同的位置重新安装
However, I don't like random things in my C:\ drive. D, IMO, belongs in Program Files with PHP and MinGW and so on. How can I get it here?
但是,我不喜欢C:\驱动器中的随机内容。 D,IMO,属于使用PHP和MinGW的程序文件,依此类推。我怎么能在这里得到它?
If it matters, I'm using the Easy D installer package.
如果重要,我正在使用Easy D安装程序包。
5 个解决方案
#1
5
You can also use NTFS Link to create junction points (symlinks for all intents and purposes) and hard links on NTFS file systems. The functionality is built into the NTFS drivers, but an interface was never implemented for it, presumably to avoid things like recursive directory structures (endless virus scan loops anyone?). This package exposes an interface to this functionality.
您还可以使用NTFS链接在NTFS文件系统上创建连接点(所有意图和目的的符号链接)和硬链接。该功能内置于NTFS驱动程序中,但是从未实现过该接口,可能是为了避免使用递归目录结构(无休止的病毒扫描循环任何人?)。此包公开了此功能的接口。
I'd then create a symlink from C:\Program Files\
to something like C:\ProgramFiles\
, hence disposing with the problematic space. This means that anything added to one directory will be added to the other, because both directories point to the same place on disk.
然后,我将从C:\ Program Files \创建一个符号链接到类似C:\ ProgramFiles \的符号链接,因此处理有问题的空间。这意味着添加到一个目录的任何内容都将添加到另一个目录中,因为两个目录都指向磁盘上的相同位置。
More info on NTFS Junction Points.
有关NTFS连接点的更多信息。
Info on NTFS symlinks (Vista only, but doesn't need NTFS Link to be installed.)
关于NTFS符号链接的信息(仅限Vista,但不需要安装NTFS链接。)
#2
1
You could try using the old DOS 8.3 name for the Program Files directory, although this solution is implementation- and locale-dependent, and thus somewhat deprecated. On most US English systems, the 8.3 name of the C:\Program Files directory is C:\PROGRA~1. So, instead of installing to "C:\Program Files\dmd", you'd install to "C:\PROGRA~1\dmd". Hopefully, the configuration files for the misbehaving programs won't know the difference.
您可以尝试使用旧的DOS 8.3名称作为Program Files目录,尽管此解决方案依赖于实现和语言环境,因此有些不赞成。在大多数美国英语系统上,C:\ Program Files目录的8.3名称是C:\ PROGRA~1。因此,不要安装到“C:\ Program Files \ dmd”,而是安装到“C:\ PROGRA~1 \ dmd”。希望行为不端的程序的配置文件不会知道区别。
#3
0
You could install it into C:\Program Files, and then use the subst
command to make it appear as a new drive letter:
您可以将其安装到C:\ Program Files中,然后使用subst命令使其显示为新的驱动器号:
subst x: "c:\program files\d"
#4
0
I actually use a "c:\Programs" for situations such as this - quite a few applications don't work well in directories with spaces in them.
实际上我使用“c:\ Programs”来处理这种情况 - 很多应用程序在其中包含空格的目录中不能很好地工作。
It doesn't cause confusion since it's different enough from "c:\Program Files" - earlier attempts used "c:\ProgramFiles" (without the space) but this was too similar.
它不会引起混淆,因为它与“c:\ Program Files”不同 - 早期的尝试使用“c:\ ProgramFiles”(没有空格),但这太相似了。
#5
0
I have a C:\Dev folder on my machine for things like this. That way you only have one folder on the main directory and it stays unclutered.
我的机器上有一个C:\ Dev文件夹,用于这样的事情。这样你在主目录上只有一个文件夹而且它一直没有被遮挡。
#1
5
You can also use NTFS Link to create junction points (symlinks for all intents and purposes) and hard links on NTFS file systems. The functionality is built into the NTFS drivers, but an interface was never implemented for it, presumably to avoid things like recursive directory structures (endless virus scan loops anyone?). This package exposes an interface to this functionality.
您还可以使用NTFS链接在NTFS文件系统上创建连接点(所有意图和目的的符号链接)和硬链接。该功能内置于NTFS驱动程序中,但是从未实现过该接口,可能是为了避免使用递归目录结构(无休止的病毒扫描循环任何人?)。此包公开了此功能的接口。
I'd then create a symlink from C:\Program Files\
to something like C:\ProgramFiles\
, hence disposing with the problematic space. This means that anything added to one directory will be added to the other, because both directories point to the same place on disk.
然后,我将从C:\ Program Files \创建一个符号链接到类似C:\ ProgramFiles \的符号链接,因此处理有问题的空间。这意味着添加到一个目录的任何内容都将添加到另一个目录中,因为两个目录都指向磁盘上的相同位置。
More info on NTFS Junction Points.
有关NTFS连接点的更多信息。
Info on NTFS symlinks (Vista only, but doesn't need NTFS Link to be installed.)
关于NTFS符号链接的信息(仅限Vista,但不需要安装NTFS链接。)
#2
1
You could try using the old DOS 8.3 name for the Program Files directory, although this solution is implementation- and locale-dependent, and thus somewhat deprecated. On most US English systems, the 8.3 name of the C:\Program Files directory is C:\PROGRA~1. So, instead of installing to "C:\Program Files\dmd", you'd install to "C:\PROGRA~1\dmd". Hopefully, the configuration files for the misbehaving programs won't know the difference.
您可以尝试使用旧的DOS 8.3名称作为Program Files目录,尽管此解决方案依赖于实现和语言环境,因此有些不赞成。在大多数美国英语系统上,C:\ Program Files目录的8.3名称是C:\ PROGRA~1。因此,不要安装到“C:\ Program Files \ dmd”,而是安装到“C:\ PROGRA~1 \ dmd”。希望行为不端的程序的配置文件不会知道区别。
#3
0
You could install it into C:\Program Files, and then use the subst
command to make it appear as a new drive letter:
您可以将其安装到C:\ Program Files中,然后使用subst命令使其显示为新的驱动器号:
subst x: "c:\program files\d"
#4
0
I actually use a "c:\Programs" for situations such as this - quite a few applications don't work well in directories with spaces in them.
实际上我使用“c:\ Programs”来处理这种情况 - 很多应用程序在其中包含空格的目录中不能很好地工作。
It doesn't cause confusion since it's different enough from "c:\Program Files" - earlier attempts used "c:\ProgramFiles" (without the space) but this was too similar.
它不会引起混淆,因为它与“c:\ Program Files”不同 - 早期的尝试使用“c:\ ProgramFiles”(没有空格),但这太相似了。
#5
0
I have a C:\Dev folder on my machine for things like this. That way you only have one folder on the main directory and it stays unclutered.
我的机器上有一个C:\ Dev文件夹,用于这样的事情。这样你在主目录上只有一个文件夹而且它一直没有被遮挡。