| 
 | 
 本帖最后由 hlowld 于 2024-5-21 14:31 编辑  
 
下面6个文件夹,可以用powershell脚本删除 
powershell -command "(new-object -com shell.application).Namespace('%userprofile%\Desktop').Self.InvokeVerb('pintohome')" 
powershell -command "(new-object -com shell.application).Namespace('%userprofile%\Downloads').Self.InvokeVerb('pintohome')" 
powershell -command "(new-object -com shell.application).Namespace('%userprofile%\Documents').Self.InvokeVerb('pintohome')" 
powershell -command "(new-object -com shell.application).Namespace('%userprofile%\Pictures').Self.InvokeVerb('pintohome')" 
powershell -command "(new-object -com shell.application).Namespace('%userprofile%\Music').Self.InvokeVerb('pintohome')" 
powershell -command "(new-object -com shell.application).Namespace('%userprofile%\Videos').Self.InvokeVerb('pintohome')" 
 
但不完美,这个脚本其实是在显示和隐藏之间切换,如果原来是隐藏的,执行后就会显示,反之则会隐藏 |   
 
 
 
 |