Hack Forums
[Shell] How can i show the change icon dialog box, with a vbscript or a command line ? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [Shell] How can i show the change icon dialog box, with a vbscript or a command line ? (/showthread.php?tid=5776096)



How can i show the change icon dialog box, with a vbscript or a command line ? - Hackoo - Dec 29, 2017

Hi ✌ 
How can i show the change icon dialog box, with a vbscript or a command line and use informations throw it in my vbscript in order to let the user choose what icon he wants to set from the change icon dialog box ?
[Image: gPPPr.jpg]
Hackoo_Change_Icon_Folder.vbs
Hackoo_Change_Icon_Folder.vbs (Click to View)


RE: How can i show the change icon dialog box, with a vbscript or a command line ? - ImDeepWithWindows - Dec 29, 2017

(Dec 29, 2017 01:42 AM)Hackoo Wrote:  Hi ✌ 
How can i show the change icon dialog box, with a vbscript or a command line and use informations throw it in my vbscript in order to let the user choose what icon he wants to set from the change icon dialog box ?
[Image: gPPPr.jpg]
Hackoo_Change_Icon_Folder.vbs
Hackoo_Change_Icon_Folder.vbs (Click to View)
damn hackoo its been a while nice to see u on here again,
 i just got a working laptop again so i can start coding again.

when u get an answer on how to trigger the windows select icon dialoge box in vbscript msg it to me i wanna know how to do that .
 its probably done with a command-line argument passed to something like explorer.exe, control.exe, or rundll32 but thats just a geuss


RE: How can i show the change icon dialog box, with a vbscript or a command line ? - HFDone - Dec 30, 2017

no easy way to do it i think
you can use site like http://help4windows.com/windows_xp_shell32_dll.shtml http://help4windows.com/windows_vista_shell32_dll.shtml http://help4windows.com/windows_7_shell32_dll.shtml http://help4windows.com/windows_8_shell32_dll.shtml
and grab the icons by thier os & index
for example win 7 folder icon http://help4windows.com/icons_win_7/win7_ico_shell32_dll-003.jpg
Edit - you can use powershell to do it https://stackoverflow.com/a/28091056


RE: How can i show the change icon dialog box, with a vbscript or a command line ? - Hackoo - Dec 31, 2017

(Dec 30, 2017 12:03 PM)HFDone Wrote:  no easy way to do it i think
you can use site like http://help4windows.com/windows_xp_shell32_dll.shtml http://help4windows.com/windows_vista_shell32_dll.shtml http://help4windows.com/windows_7_shell32_dll.shtml http://help4windows.com/windows_8_shell32_dll.shtml
and grab the icons by thier os & index
for example win 7 folder icon http://help4windows.com/icons_win_7/win7_ico_shell32_dll-003.jpg
Edit - you can use powershell to do it https://stackoverflow.com/a/28091056

Thank you for your explanation and I wish you a happy new year 2018 ✌   👍