tagged [path]

Relative paths in Visual Studio

Relative paths in Visual Studio I'm working in Visual Studio 2005 and have added a text file that needs to be parsed by right-clicking the project in the solution explorer and add --> new item. This p...

10 Sep at 03:35

Given a filesystem path, is there a shorter way to extract the filename without its extension?

Given a filesystem path, is there a shorter way to extract the filename without its extension? I program in WPF C#. I have e.g. the following path: and I want to extract `hello` from it. The path is a...

Resolving relative paths with wildcards in C#

Resolving relative paths with wildcards in C# In C#, if I have a directory path and a relative file path with wildcard, e.g. `"c:\foo\bar"` and `"..\blah\*.cpp"` Is there a simple way to get the list ...

What is the difference between an absolute and a relative path?

What is the difference between an absolute and a relative path? I am asking because I am working on a project for school. Yes this is homework. But, I'm trying to understand a little bit more, though....

23 Jul at 12:8

How do I join two paths in C#?

How do I join two paths in C#? How do I join two file paths in C#?

20 Mar at 12:43

How can I list the contents of a directory in Python?

How can I list the contents of a directory in Python? Can’t be hard, but I’m having a mental block.

3 May at 16:1

Get the directory from a file path in java (android)

Get the directory from a file path in java (android) so from you get

22 Jun at 09:10

Find full path of the Python interpreter?

Find full path of the Python interpreter? How do I find the full path of the currently running Python interpreter from within the currently executing Python script?

16 Oct at 08:58

How to add native library to "java.library.path" with Eclipse launch (instead of overriding it)

How to add native library to "java.library.path" with Eclipse launch (instead of overriding it) I got a native library that needs to be added to . With JVM argument I can set the path as I want. My pr...

31 Jul at 20:52

Get relative Path of a file C#

Get relative Path of a file C# I currently writing a project in visual studio in c#. the project full path is: I have a file that I need to load during the execution. lets say the file path is I don't...

7 Sep at 13:8