cypruskruto.blogg.se

Change icon of batch file
Change icon of batch file




change icon of batch file change icon of batch file

Select shell32.dll and select the Windows Update icon. Change the icon and browse to c:\windows\system32. Why? Because I know for sure this file is available on all Windows installations.Ĭreate a dummy shortcut or select an existing one. Let’s change the icon to an icon from shell32.dll. IconPath: the container holding the icon(s) There are 2 properties to manipulate the icon: IconIndex: the index for the icon you wish to show (0 if only 1 icon is available) So, looking at these properties we are able to change the icon here! This isn’t possible in the UI. IconPath : C:\Windows\System32\notepad.exe RequiredCommandLine : c:\windows\windowsupdate.log This will show all properties for the RemoteApp with “notepad” as alias: CollectionName : RemoteAppsįilePath : C:\Windows\System32\notepad.exeįileVirtualPath : C:\Windows\System32\notepad.exe Open an administrative Powershell prompt and type the following command: Get-RDRemoteApp -alias "notepad" | fl Good luck hope this helps.As I was doing Step by Step Windows 2012 R2 Remote Desktop Services – Part 4, which is all about publishing RemoteApp programs I figured I’d put this in a separate post.Ĭan we change the icon for a Published RemoteApp? Yes we can. You can place this batch file anywhere, right click the Wow.bat file select "Send To" create a link on desktop, then right click the link on your desktop select properties select the Shortcut Tab in Win7, at the bottom click "Change Icon." and select a icon to replace the drab batch file one. PAUSE asks for user input "press any button to continue", (these can be removed from the above code to speed things up)ĬALL contacts and opens an exsisting program or file.ĮXIT once the batch has confirmation the file has opened it will close the batch file window. the path must be inside quotation marks for Vista and Win7 to prevent long filename issues.

change icon of batch file change icon of batch file

REM is hidden text to notate what is happening (these can be removed)ĭEL is the delete command. To explain OFF prevents the batch file from looping REM The next line will start World of WarcraftĬALL "C:\Users\Public\Games\World of Warcraft\Launcher.exe" REM The next line deletes the creature cacheĭEL "C:\Users\Public\Games\World of Warcraft\Cache\WDB\enUS\creaturecache.wdb" Once this is done copy and paste the following lines into notepad then click OFF To start open Notepad and click File then Save AsĪnd select your desktop for location to save the file, and click Save This takes a little PC savy but easy once you know the basics. This batch file creation will allow you to delete the cache file and start wow in one click. The reason for this is that you can not manually reset rare creatures found in the addon and it takes manually deleting the file to reset the addon. You can use a batch file to automate the deletion process of the creaturecache.wdb file for _NPCscan in Windows Vista and Win7.






Change icon of batch file