当前位置:网站首页>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"
自此就已经将文件移动好了
绝对不能用来移动系统文件,否则后果自负
边栏推荐
- EMC rectification outline
- Explanation of line segment tree
- Use ASE encryption and decryption cache encapsulation in Vue project
- Call C function in Lua
- Uni app enables pull-up loading and pull-down refresh (pull-down with animation)
- PAT 1054 The Dominant Color
- Billions of data to determine whether the element exists
- php开发16退出模块
- Webpack system learning (VIII) how contenthash can prevent browsers from using cache files
- XOR prefix and +map maintenance
猜你喜欢
Redis data persistence
[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
Alipay native components (hotel time selection)
The could not find com scwang. smart:refresh-layout-kernel:2.0.3. Required by: project: the app cannot load the third-party package
CTFSHOW SQL注入篇(231-253)
Explanation of line segment tree
记录一次排查问题的经过——视频通话无法接起
Small program input element moving up
120. 三角形最小路径和-动态规划
[automated test] what you need to know about unittest
随机推荐
[flutter problem Series Chapter 67] the Solution to the problem of Routing cannot be jumped again in in dialog popup Using get plug - in in flutter
Knife4j aggregation 2.0.9 supports automatic refresh of routing documents
Sword finger offer II 022 Entry node of a link in a linked list
ACM ICPC
Express scaffold creation
Consolidated figures
JSTL -- JSP standard tag library
2022 ICLR | CONTRASTIVE LEARNING OF IMAGE- AND STRUCTURE BASED REPRESENTATIONS IN DRUG DISCOVERY
php开发14 友情链接模块的编写
Time format method on the official demo of uniapp
Introduction and use of ES6
Billions of data to determine whether the element exists
7-289 tag count (300 points)
Simple static web page + animation (small case)
Sword finger offer 56 - I. number of occurrences in the array
The problem that ionic3 cannot automatically install the APK package
Express framework knowledge - Art template template, cookie, session
[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
Uni app dynamic add style dynamic bind background image invalid
[notes] summarize common horizontal and vertical centering methods