中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-10-02 02:22
47,813 topics / 349,918 posts / today 0 new / 48,279 members
DOS批处理 & 脚本技术(批处理室) » Please clarify your specific request. Do you want to know how to refresh the desktop in the DOS version? Please provide more details.
Printable Version  3,862 / 17
Floor16 wert123 Posted 2007-06-05 18:23
中级用户 Posts 135 Credits 301

Dim objSHA
Set objSHA = CreateObject("Shell.Application")
objSHA.ToggleDesktop
Set objSHA = Nothing


Sweat~~~

[ Last edited by wert123 on 2007-6-5 at 06:24 PM ]
Floor17 my3439955 Posted 2007-06-13 15:02
中级用户 Posts 99 Credits 272
Originally posted by pighead123 at 2007-6-1 19:16:
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters


Another unpublicized API. How was UpdatePerUserSystemParameters found?
Floor18 wq1282 Posted 2010-03-23 11:54
新手上路 Posts 2 Credits 2
I usually use:

which starts the Windows Install service and refreshes icons, and generally achieves the desired effect.

[ Last edited by wq1282 on 2010-3-23 at 11:58 ]
Prev  1 2
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023