找回密码
 加入
搜索
楼主: 13gu

[网络通信] 【已解决】explorer.exe结束再运行问题

[复制链接]
发表于 2022-7-23 23:05:04 | 显示全部楼层
32位程序在64位运行会出现这个问题,加一行
DllCall("kernel32.dll", "int", "Wow64DisableWow64FsRedirection", "int", 1)
发表于 2022-7-24 15:56:44 | 显示全部楼层
13gu 发表于 2022-7-23 17:41
老大,你试了么,我运行后会弹库文件夹,同时不会再运行explorer.exe

改成这样即可:
SplashTextOn('温馨提示', '正在结束 explorer 请稍候…', 300, 50)
Do
        Run(@ComSpec & ' /c taskkill /f /im explorer.exe', '', @SW_HIDE)
        Sleep(500)
Until Not ProcessExists('explorer.exe')
SplashOff()
ShellExecute('explorer.exe')
Exit
 楼主| 发表于 2022-7-24 20:43:36 | 显示全部楼层
谢谢各位大佬
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-27 17:28 , Processed in 0.064122 second(s), 13 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表