|
wudixin96
银牌会员
    
积分 1928
发帖 931
注册 2007-1-6
状态 离线
|
『楼 主』:
改变文件夹图标
使用 LLM 解释/回答一下
ffffff
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
ffffff
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
|
|
2007-4-7 01:45 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
attrib +s %currdir%
用属性里修改却可以不用加S属性,这个如何解决?
attrib +s %currdir%
How to solve this problem that you can modify it in the properties without adding the S attribute?
|
|
2007-4-7 03:09 |
|
|
wudixin96
银牌会员
    
积分 1928
发帖 931
注册 2007-1-6
状态 离线
|
『第 3 楼』:
使用 LLM 解释/回答一下
..
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
|
|
2007-4-7 03:15 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 4 楼』:
使用 LLM 解释/回答一下
这种方法必须给文件夹加上系统属性,这样很麻烦知道么?(貌似不能修改隐藏属性)
所以问你可以不加系统属性而达到修改目的么?
This method must add the system attribute to the folder, which is very troublesome, you know? (It seems that the hidden attribute cannot be modified)
So I ask, can you achieve the modification purpose without adding the system attribute?
|
|
2007-4-7 04:39 |
|
|
wudixin96
银牌会员
    
积分 1928
发帖 931
注册 2007-1-6
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
ddd
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
ddd
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
|
|
2007-4-7 05:05 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
楼主的行不通,有三个问题:
1、直接拖放说有参数错误;
2、desktop.ini文件建到了%userprofile%里面了;
3、手工建立desktop.ini文件,设置系统隐藏属性仍然看不见效果;
The method of the thread starter doesn't work. There are three problems:
1. Direct drag-and-drop says there is a parameter error;
2. The desktop.ini file is built in the %userprofile%;
3. Manually creating the desktop.ini file and setting the system hidden attribute still doesn't see the effect;
|
|
2007-4-7 05:07 |
|
|
slore
铂金会员
      
积分 5212
发帖 2478
注册 2007-2-8
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
是给文件夹添加系统属性。。。
It's to add the system attribute to the folder...
|
|
2007-4-7 05:09 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
|
2007-4-7 05:12 |
|
|
wudixin96
银牌会员
    
积分 1928
发帖 931
注册 2007-1-6
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
..
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
|
|
2007-4-7 05:12 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 10 楼』:
使用 LLM 解释/回答一下
试试这个,
:::::::::::::::::::SetIcon.Bat::::::::::::::::::::::::::
::把此批处理放在要处理的文件夹里面,然后拖动一个带有图标的exe文件到此批处理上面释放即可。
@echo off
if exist desktop.ini del /a desktop.ini
echo >%~sdp0desktop.ini
echo IconIndex=0 >>%~sdp0desktop.ini
echo IconFile=%~1 >>%~sdp0desktop.ini
attrib +s +h %~sdp0desktop.ini
attrib +s "%cd%"
Try this,
:::::::::::::::::::SetIcon.Bat::::::::::::::::::::::::::
::Put this batch file in the folder you want to process, then drag an exe file with an icon onto this batch file to release it.
@echo off
if exist desktop.ini del /a desktop.ini
echo >%~sdp0desktop.ini
echo IconIndex=0 >>%~sdp0desktop.ini
echo IconFile=%~1 >>%~sdp0desktop.ini
attrib +s +h %~sdp0desktop.ini
attrib +s "%cd%"
|
|
2007-4-7 05:34 |
|
|
wudixin96
银牌会员
    
积分 1928
发帖 931
注册 2007-1-6
状态 离线
|
『第 11 楼』:
使用 LLM 解释/回答一下
...
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
...
Last edited by wudixin96 on 2007-11-2 at 11:59 AM ]
|
|
2007-4-7 05:39 |
|
|
scriptor
银牌会员
    
积分 1187
发帖 555
注册 2006-12-21
状态 离线
|
『第 12 楼』:
使用 LLM 解释/回答一下
Originally posted by wudixin96 at 2007-4-7 05:39:
偶就是不怎么表示当前路径。变量扩展不会用啊。
偶试试。
总算可以了。谢谢lxmxn
不过attrib +s %cd%存在问题
Last edited by wudixin96 on 2007-4-7 at 06:55 AM ]
attrib +s "%cd%"
对付有空格的目录名
Originally posted by wudixin96 at 2007-4-7 05:39:
I just don't show the current path very much. Variable expansion is not used.
I'll try.
Finally, it works. Thank you lxmxn
But there is a problem with attrib +s %cd%
Last edited by wudixin96 on 2007-4-7 at 06:55 AM ]
attrib +s "%cd%"
To deal with directory names with spaces
|
|
2007-10-17 16:22 |
|
|
jhua
新手上路

积分 19
发帖 15
注册 2007-10-17
状态 离线
|
『第 13 楼』:
谢了
使用 LLM 解释/回答一下
很好用
可不可以解释一下
set currdir=%~sdp0
attrib +s %currdir:~0,-1%
这一段是什么意思啊??
It works very well. Can you explain what the following segment means?
set currdir=%~sdp0
attrib +s %currdir:~0,-1%
|
|
2007-10-17 16:55 |
|
|
jhua
新手上路

积分 19
发帖 15
注册 2007-10-17
状态 离线
|
『第 14 楼』:
呵呵
使用 LLM 解释/回答一下
呵呵 知道了
~~~~~
我查到了……
Hehe, got it. ~~~~~ I found out...
|
|
2007-10-17 16:57 |
|
|
Lick
初级用户
 
积分 62
发帖 28
注册 2006-3-14
状态 离线
|
『第 15 楼』:
使用 LLM 解释/回答一下
Originally posted by jhua at 2007-10-17 16:55:
很好用
可不可以解释一下
set currdir=%~sdp0
attrib +s %currdir:~0,-1%
这一段是什么意思啊??
这个是什么意思呀?
我不明白呀,可以说说吗?谢谢啦``
Originally posted by jhua at 2007-10-17 16:55:
It works well.
Can you explain
set currdir=%~sdp0
attrib +s %currdir:~0,-1%
What does this part mean?
What does this mean?
I don't understand. Can you say it? Thank you.
|
|
2007-10-19 01:24 |
|