Hi,Mark.Yes,i'm looking for a command-line tool.It seems that there's no
such tool in windows.
--
Regards,
Heelen Diyond...
If you can't understand my poor English clearly,please reply,and I'll do my
best to explain and help u
"Mark V" <(E-Mail Removed)> 写入消息新闻
:Xns956E56B6AF6BFz9zzaQ2btw@207.46.248.16...
> In microsoft.public.win2000.registry Heelen Diyond wrote:
>
> > Thanks a million,though I had known this method
> > But,are there any other better ideas?
>
> Great. I hope to read some of them!
>
> Have you also ruled out generating a REG file and importing from the
> CLI then?
>
> What (generally) are you looking for? VBS script? Command-line tool
> such as the hypothetical:
> SetIco.exe ext icopath
>
> Cheers
>
>
> >
> >
> > "Mark V" <(E-Mail Removed)> д ?
> >:Xns956E452D0F255z9zzaQ2btw@207.46.248.16...
> >> In microsoft.public.win2000.registry Heelen Diyond wrote:
> >>
> >> > I know the command to change the file association is
> >> > "assoc",but how can i change the icon?
> >>
> >> Perhaps,
> >> D:\temp3>assoc .log
> >> .log=txtfile
> >>
> >> reg.exe add "HKCR\txtfile\defaulticon" /ve /d
> >> "c:\somewhere\Mynpad.ico" /f
> >>
> >> Icon resource may be an icon file or and executable (.exe, .dll)
> >> with a index number as in
> >> C:\winnt\notepad.exe,0
> >>
> >> REG.EXE is either installed or can be installed with the "Support
> >> Tools". (for W2K/XP/2K3)
> >>
> >>
> >> There may be other CLI methods to do this.
> >>
> >
> >
> >
>
|