Title: plugin_dir_path() in WAMP
Last modified: August 20, 2016

---

# plugin_dir_path() in WAMP

 *  [Mads Phikamphon](https://wordpress.org/support/users/madsphi/)
 * (@madsphi)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/plugin_dir_path-in-wamp/)
 * Hi,
 * I’m running my WordPress development installation on WAMP (Windows Web Development
   Platform).
 * Every works well, but I have problem with the path functions.
 * For example, plugin_dir_path() returns “C:\wamp\www\wpdev\wp-content\plugins\
   my-plugin/”.
 * Fine if it weren’t for the / at the end. It should be turned the other way (\)
   on WAMP.
 * Anyone have some ideas that can fix this problem? (I really don’t want to mess
   up my plugin code with a string replacement)
 * Thanks,
    Mads

Viewing 1 replies (of 1 total)

 *  [alexwenzel](https://wordpress.org/support/users/alexwenzel/)
 * (@alexwenzel)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/plugin_dir_path-in-wamp/#post-3213469)
 * I have the same problem. Any solution?

Viewing 1 replies (of 1 total)

The topic ‘plugin_dir_path() in WAMP’ is closed to new replies.

## Tags

 * [path](https://wordpress.org/support/topic-tag/path/)
 * [WAMP](https://wordpress.org/support/topic-tag/wamp/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 1 reply
 * 2 participants
 * Last reply from: [alexwenzel](https://wordpress.org/support/users/alexwenzel/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/plugin_dir_path-in-wamp/#post-3213469)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
