中国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-09-14 17:22
47,812 topics / 349,917 posts / today 0 new / 48,268 members
DOS批处理 & 脚本技术(批处理室) » How to make the batch processing automatically refresh after execution
Printable Version  5,759 / 25
Floor1 eech Posted 2006-12-13 03:29
高级用户 Posts 346 Credits 906
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSuperHidden /t reg_dword /d 00000001 /f
assoc .txt=txtfile

This is a batch script for "showing protected operating system files". The last sentence is a refresh command found on the forum. But after execution, the hidden system folders still cannot be displayed. Only by right-clicking and refreshing can they be displayed. If you end Explorer and then open My Computer, it works, but it's too cumbersome, and right-clicking and refreshing is better.

Please help,大虾. Teach me the command to automatically refresh. How to refresh automatically and display immediately.

The following attachment is a software made by a大虾 I found online. It can automatically refresh, display immediately, and there is a menu in the right-click.

I'm too inexperienced. Please trouble everyone.

If there are any mistakes in the post, please let the moderator know, and I will correct it immediately

[ Last edited by eech on 2006-12-13 at 06:58 AM ]
Floor2 HUNRYBECKY Posted 2006-12-13 03:37
银牌会员 Posts 442 Credits 1,179
Floor3 ccwan Posted 2006-12-13 04:01
金牌会员 Posts 1,160 Credits 2,725 From 河北廊坊
I didn't understand your meaning.
This is composed of 1 VBS, 2 REG, and 3 BAT files.
Floor4 zh159 Posted 2006-12-13 04:40
金牌会员 Posts 1,467 Credits 3,687
Use VBS script to send the key combination "F5 + F10 + E" for refreshing
Floor5 zh159 Posted 2006-12-13 05:20
金牌会员 Posts 1,467 Credits 3,687
"Show Hidden System Files" added to the right-click VBS has been written:



In the bat, directly use the echo method to write a vbs script and execute it

Supplement:
Don't know the echo method???-_-|||



[ Last edited by zh159 on 2006-12-12 at 04:47 PM ]
Floor6 YYDDOS Posted 2006-12-13 05:23
初级用户 Posts 16 Credits 38 From 乡下
It's really a good thing, adoration!
Floor7 voiL Posted 2006-12-13 09:33
中级用户 Posts 189 Credits 384
inf seems to be refreshed in real time. Why not try using inf...
Floor8 lxmxn Posted 2006-12-13 09:57
版主 Posts 4,938 Credits 11,386

  What is the difference between refreshing with {F5} + {F10} + E and directly refreshing with {F5}?
Floor9 kennyfan Posted 2006-12-13 11:43
中级用户 Posts 112 Credits 259
Dizzy. Still don't understand, I simply press F5!
Floor10 eech Posted 2006-12-13 12:14
高级用户 Posts 346 Credits 906
assoc .txt=txtfile

This one seems like it can also refresh, but it doesn't work
Floor11 zh159 Posted 2006-12-13 13:22
金牌会员 Posts 1,467 Credits 3,687
Originally posted by lxmxn at 2006-12-12 20:57:

What is the difference between refreshing with {F5} + {F10} + E and refreshing directly with {F5}?

For that script that right-clicks "Show/hide system files", I tried changing it to send {F5} to refresh, but it didn't work. Refreshing with {F5} + {F10} + E works;
I found that refreshing with {F5} + {F10} + E calls the refresh in the right-click menu
Floor12 lxmxn Posted 2006-12-14 00:37
版主 Posts 4,938 Credits 11,386
Originally posted by zh159 at 2006-12-13 13:22:

Regarding the script for the "Show/Hide System Files" option in the right-click menu, I tried changing it to send {F5} to refresh, but it didn't work. {F5} + {F10} + E refresh works;
I found that {F5} + {F10} + E refresh calls the refresh option in the right-click menu.


  Oh, I also thought so, otherwise I wouldn't have sent this special combination of keys.
Floor13 301 Posted 2007-03-04 23:05
新手上路 Posts 1 Credits 2
There are so many good things, how can we collect them all!
Floor14 everest79 Posted 2007-03-05 02:41
金牌会员 Posts 1,127 Credits 2,564
RunDll32.exe USER32.DLL,UpdatePerUserSystemParameters
This can also refresh
Floor15 88069696 Posted 2007-03-17 15:47
新手上路 Posts 1 Credits 2
1 2  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023