ntfs文件系统下的deepin.lft和deepin.num可不可以考虑隐藏或者.....
Tofloor
poster avatar
mojinyinhu
deepin
2018-09-24 06:54
Author
每次看到这两个文件内心就很想骂人,强迫症受不了啊,删掉还会重新生成,
这个就不能换到家目录吗


Reply Favorite View the author
All Replies
avatar
wtz
deepin
2018-09-24 07:09
#1
你自己把它隐藏掉不就行了。
Reply View the author
avatar
mojinyinhu
deepin
2018-09-24 07:15
#2
https://bbs.deepin.org/post/169219
你自己把它隐藏掉不就行了。

全靠手动,就回到原始社会了
Reply View the author
avatar
wtz
deepin
2018-09-24 07:31
#3
https://bbs.deepin.org/post/169219
全靠手动,就回到原始社会了

全靠自动,人类就没有存在的必要了。
Reply View the author
avatar
bigbr
deepin
2018-09-25 00:38
#4
估计你不喜欢在根目录放文件..?那就删掉之后建两个同名文件夹吧。。
Reply View the author
avatar
VI~TONISEN
deepin
2018-09-25 01:02
#5
自动化之后,手都
Reply View the author
avatar
mojinyinhu
deepin
2018-09-25 03:52
#6
https://bbs.deepin.org/post/169219
估计你不喜欢在根目录放文件..?那就删掉之后建两个同名文件夹吧。。

新建个文件夹还是很碍眼,每个分区都会重写这个设定真的感觉不好
Reply View the author
avatar
WENWEN
deepin
2018-09-25 17:05
#7
Reply View the author
avatar
zccrs
deepin
2018-09-25 17:25
#8
好的,尽快解决
Reply View the author
avatar
窄口牛
deepin
2018-09-26 17:04
#9
本帖最后由 jonathan_hzs 于 2018-9-26 17:57 编辑

  1. @echo off
  2. Setlocal enabledelayedexpansion
  3. for /f "Skip=1" %%a in ('Wmic Logicaldisk Get Name') do (
  4. del %%a:\deepin.lft /q>nul 2>nul
  5. del %%a:\deepin.num /q>nul 2>nul
  6. md %%a:\deepin.lft
  7. md %%a:\deepin.num
  8. attrib %%a:\deepin.lft +h
  9. attrib %%a:\deepin.num +h
  10. )
Copy the Code


Reply View the author
avatar
mojinyinhu
deepin
2018-09-27 00:22
#10
https://bbs.deepin.org/post/169219
@echo off Setlocal enabledelayedexpansion
for /f "Skip=1" %%a in ('Wmic Logicaldisk Get Name') do ( ...

厉害啦我的哥
Reply View the author