By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,483 Members | 1,052 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,483 IT Pros & Developers. It's quick & easy.

Why is a / slash in a file path for windows example

P: 1
Example: "E:\Program Files\some folder\another folder/logs" the question is why can that forward slash be in that file path and work? Or is this a mistake in the config file and needs to be changed?
Oct 23 '16 #1
Share this Question
Share on Google+
1 Reply


Dormilich
Expert Mod 5K+
P: 8,639
PHP in windows can work with both / and \. otherwise applications/libraries wouldn’t be portable between OSs.
Oct 24 '16 #2

Post your reply

Sign in to post your reply or Sign up for a free account.