How to create a folder in my plugin folder?

Discussion in 'Plugin Development' started by arnie231, Apr 20, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    arnie231

    How do I create a New Folder in my plugin's folder without hard coding the path ?
     
  2. Offline

    Njol

    IIRC it's something like this:
    File folder = new File(getPluginFolder(), "foldername"+File.separator);
    folder.mkdir();
     
Thread Status:
Not open for further replies.

Share This Page