Click here to Skip to main content
15,888,218 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
suppose you have created a folder . And you have an icon . now how you will put that icon on the folder [ at the time of creation of the folder ]....how i change the default look of the folder at creation time
All through code

What I have tried:

during the time of folder creation i used system.io namespace
for folder creation i used createdirectory(path and the name of the folder ) syntax .
After that i don't know i am asking for help
Posted
Updated 25-Feb-21 0:58am

1 solution

A quick Google of this provided this StackOverflow[^] example. You'd probably need to generate and save a folder icon with your custom icon on top somewhere, and then create a desktop.ini to point to that icon.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900