Top "Filepath" questions

File path, specifies a unique location in a file system.

Getting filesystem path of class being executed

Is there any way to determine current filesystem location of executed class from the code of this class, in runtime, …

java filepath
Java: Get URI from FilePath

I've little knowledge of Java. I need to construct a string representation of an URI from FilePath(String) on windows. …

java url uri filepath
Difference between forward slash (/) and backslash (\) in file path

I was wondering about the difference between \ and / in file paths. I have noticed that sometimes a path contains /and …

c# path filepath backslash slash
Is there a way of making strings file-path safe in c#?

My program will take arbitrary strings from the internet and use them for file names. Is there a simple way …

c# .net string filepath
Remove file extension and path from a string in Perl

I want to obtain a file name without its path (if it is part of the string) and also the …

regex perl file-extension filepath
How can I open files relative to my GOPATH?

I'm using io/ioutil to read a small text file: fileBytes, err := ioutil.ReadFile("/absolute/path/to/file.txt") And …

go filepath
phpunit require_once() error

I recently installed phpunit on my server via the pear installer. When I go to run a test I get …

php installation phpunit filepath php-ini
python replace backslashes to slashes

How can I escape the backslashes in the string: 'pictures\12761_1.jpg'? I know about raw string. How can I convert …

python string filepath backslash
How to get a platform independent directory separator in PHP?

I'm building a path string in PHP. I need it to work across platforms (i.e., Linux, Windows, OS X). …

php directory filepath
android drawable from file path

I have a file path String of the form "e:\...\xxx.jpg" How do I create a drawable from it?

android drawable filepath