当前位置:网站首页>C盘无损移动文件
C盘无损移动文件
2022-06-13 04:23:00 【Lete乐特】
在一些特殊的情况下,某些软件在安装的过程中并没有给你指明安装路径或是按钮设计的很隐秘,又或者说是你不注意就点击下一步下一步就安装上了。(一般重新安装即可解决)
甚至是有些软件是你用了很久的,导致这种文件堆积到C盘,导致越用越多,时不时C盘就爆红,还得定期清理,太麻烦了
那有什么办法可用解决这个问题吗?答案是有的
有些人可能知道FreeMove这款开源软件,这是一个很老的项目了,并且作者已经很久没有更新了,但用用来简单的以用一些文件、文件夹、软件安装路径也是没问题的
我也用过,但对于我来说,目前也不是太大作用,也不是实时使用的软件,可能一年两年才会用一次,然后就不知道丢到哪个文件夹里吃灰去了,在想起来要用是,找起来也是比较耗时(或者去gtihub下载一个)
现在就不用这款软件了,直接使用一行命令即可实现,也不难记mklink命令
打开命令行输入mklink命令即可查看详细的内容介绍
这里我们会用到mklink /d这个命令进行对文件的链接 详细内容
假设我现在需要将G:\Desktop\test1链接到G:\Desktop\test2,之后我打开G:\Desktop\test1这个文件夹时就会链接到G:\Desktop\test2(实则是打开了test2文件夹,相当于快捷方式)
我为什么用双引号跨起来呢?
为了保证命令行能够识别出完整的路径,所有需要括起来(一些特殊情况下有些文件路径是存在空格等一些特殊字符的)
在执行命令之前,你需要将原文件夹剪切到目标路径后再执行目录,否则会提示文件已存在,可参考如下图所示
# mklink /d 原路径 目标路径
mklink /d "G:\Desktop\test1" "G:\Desktop\test2"

自此就已经将文件移动好了
绝对不能用来移动系统文件,否则后果自负
边栏推荐
- [notes] summarize common horizontal and vertical centering methods
- Webpack system learning (VIII) how contenthash can prevent browsers from using cache files
- Express framework knowledge - Art template template, cookie, session
- Get verification code
- SEO specification
- H5 the blue background color appears when clicking the picture
- Redis-HyperLogLog-基数统计算法
- 重读经典:《End-to-End Object Detection with Transformers》
- Solve the problem of running server nodemon reporting errors
- How to use debounce in lodash to realize anti shake
猜你喜欢

一致性哈希的简单认识

记录一次排查问题的经过——视频通话无法接起

Data analysis report

EIA map making - data processing + map making

Differences and relations between three-tier architecture and MVC

Ctfshow SQL injection (231-253)
![[kubernetes series] pod chapter actual operation](/img/ac/fb563f3d92e6fdbd36e41d2f213556.jpg)
[kubernetes series] pod chapter actual operation

Day45. data analysis practice (1): supermarket operation data analysis

基于DE2-115平台的VGA显示

Explanation of line segment tree
随机推荐
Set properties \ classes
The most detailed swing transformer mask of window attachment in history -- Shaoshuai
Lenovo notebook computer uses the insert key. When the mouse becomes a small square, how to solve it
Li Kou brush question 647 Palindrome substring
Modeling discussion series 143 data processing, analysis and decision system development
Applet version update
Sword finger offer 11 Minimum number of rotation array - binary lookup
[notes] summarize common horizontal and vertical centering methods
Common ways to traverse map sets
在线音频调节技术汇总
Intervention analysis + pseudo regression
Introduction to RFM analysis
Redis hyperloglog cardinality statistics algorithm
Catalan number
Et framework -22 creating serverinfo entities and events
【Flutter 問題系列第 67 篇】在 Flutter 中使用 Get 插件在 Dialog 彈窗中不能二次跳轉路由問題的解决方案
Checkmarks and crosses to collect
[chapter 67 of the flutter problem series] the solution to the problem that the get plug-in cannot jump to the route twice in the dialog pop-up window in flutter
力扣刷题647.回文子串
Discussion sur la modélisation de la série 143