Skip to content

A small JavaScript library that create a custom folder on windows explorer

License

Notifications You must be signed in to change notification settings

lineCode/win-explorer-custom-folder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

win-explorer-custom-folder

A small JavaScript library that create a custom folder on windows explorer

explorerCustomFolder.createFolder('System', 'C:\\Windows', 'C:\\Windows\\explorer.exe')
    .then(uuid => {
        console.log(uuid)
    })
    .catch(err => {
        console.log(err)
    })
    
explorerCustomFolder.deleteFolder('80f022a0-f605-11e7-adcc-c1307da35532')
    .then(uuid => {
        console.log('delete ok')
    })
    .catch(err => {
        console.log(err)
    })

Parameters

createFolder(name, path, iconExePath, uuid)

name

  • The name you are create, will be shown when you hover the mouse over the custom folder in File Explorer

path

  • the full folder path

iconExePath (Optional)

  • the folder icon from the iconExePath,if not set, use the default icon

uuid (Optional)

  • the unique uuid of the folder, if not set, it will create a new uuid,if you need modify the folder, you need set the uuid last new
deleteFolder(uuid)

About

A small JavaScript library that create a custom folder on windows explorer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published