- 0
Java and file paths
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
.NET and JDBC drivers get native vector data support, enabling up to 50x faster reads
By Usama Jawad96,
- 0 replies
- 0 views
-
JetBrains releases IntelliJ IDEA 2025.1.1, bringing multiple bug fixes and improvements
By David Uzondu,
- jetbrains
- intellij idea
- (and 6 more)
- 0 replies
- 0 views
-
- 14 replies
- 0 views
-
High Performance with Java ($33.99 Value) free eBook download
By News Staff,
- ebook offer
- sponsored
- (and 2 more)
- 0 replies
- 4 views
-
- 0 replies
- 8 views
-
Question
timsweb
Hi all,
Have a quick question regarding Java. I am making a application that works alot with file paths and will be used on different platforms and I am having problems with back slashes and forward slashes. I want to use forward slashes as they seem more universal and cross platform but when I use a instance of File in Java to get paths it returns them using backward slashes, is their a way to change this?
Thanks, Tim
Link to comment
https://www.neowin.net/forum/topic/1091775-java-and-file-paths/Share on other sites
5 answers to this question
Recommended Posts