可以访问该目录吗? [英] Can This Directory Be Accessed?

查看:68
本文介绍了可以访问该目录吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试找出如何从此处移动文件或至少将文件定向到其他目录...........

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ Shell文件夹\缓存

这可能吗?如果是这样,将如何做?谢谢.

I''m trying to find out how to move files from or at least direct the files to a different directory from here...........

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache

Is this possible? If so how would it be done? Thank you.

推荐答案

这不是目录,但是在此注册表项下,有几个命名条目(所谓的值"),这些条目包含供使用的目录名.资源管理器用于不同的目的.如果需要,可以更改它们.

只需运行REGEDIT.EXT并使用左侧菜单导航到此键.在右窗格中,单击每个值并手动更改它.要特别小心!这是资源管理器!不要破坏您的关键数据!

这不会涉及原始目录及其内容.现在,您是否还需要移动这些目录的内容?您可以使用管理员帐户来执行此操作.同样,要小心.在过渡过程中,以防万一,我不会使用资源管理器.强烈建议使用Total Commander之类的工具(我只为每位用户支付
This is not a directory, but under this registry keys there are several named entries (so called "values") which contain the directory names used by Explorer for different purposes. If you want, you can change them.

Just run REGEDIT.EXT and navigate to this key using the menu on left. In right pane, click on each value and manually change it. Be extra careful! This is Explorer! Don''t screw up your critical data!

This won''t touch original directories and its content. Now, do you need to move the content of these directories as well? You can do it, possibly using administrator account. Again, be careful. In the transition, just in case, I would not use Explorer. Use something like Total Commander, highly recommended (I pay just


46许可,同时可以无限期支持此共享软件,但还可以无限期试用.)使用Ctrl + Shift + Enter可以将完整的文件或目录名称精简"(这就是我们的称呼)的能力,这非常重要,因为这样您就不会进行危险的名称错误拼写.) >
您还可以编写一些代码,使用我对上一个问题的解决方案,以编程方式进行此迁移,请参见 ^ ].

小心.为了以防万一,请确保在执行此大胆的活动后重新引导系统. :-)
我可以知道这种怪异改动的最终目的吗? :-)

—SA
46 per user for license with unlimited life-time support of this shareware, but unlimited trial period is also available. It also has an ability to "peck down" (this is how we call it) the full file or directory name into command line using Ctrl+Shift+Enter, which is pretty important because this way you will not do a dangerous name misspell.)

You can also write some code which will do this migration programmatically, using my solution for your previous question, see Moving A File From One Directory[^].

Be careful. Just in case, make sure to reboot your system after this daring activity. :-)
May I know the ultimate goal of this weird alteration? :-)

—SA


我不知道您是否真的需要它,但是正如您提到的下载,我可以将您指向我提供的命令行HttpDownloader回应过去的CodeProject问题.此处:如何从Internet下载文件 [ ^ ].

它有两个好处:它可以继续不完整的下载(中断,失败),并且可以从命令行运行.

由于最后一个事实,您可以使用以下代码行写一个长批处理文件:
I don''t know if you really need it, but as you mentioned downloading, I can point you to my command-line HttpDownloader I gave out in response to past CodeProject question. Here: how to download a file from internet[^].

There are two good thing about it: it can continue incomplete (interrupted, failed) downloads and it works from command line.

Due to the last fact, you can write a long batch file with line like this:
HTTPDownloader http://www.domain.tld/files/myFileName.mp3 myFileName.mp3



命令行带有两个参数,第二个参数是可选的,但在您要继续不完整地下载到此文件时很重要:



The command line comes with two parameters, second one is optional but important when you want to continue incomplete download to this file:

HTTPDownloader source-URL [destination-file]



另外,您可以根据需要修改我的源代码.

—SA



Also, you can modify my source code to your needs.

—SA


这篇关于可以访问该目录吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆