tagged [path]
How to OpenWebConfiguration with physical path?
How to OpenWebConfiguration with physical path? I have a win form that creates a site in IIS7. One function needs to open the web.config file and make a few updates. (connection string, smtp, imperson...
- Modified
- 1 Dec at 12:6
How to add a set path only for that batch file executing?
How to add a set path only for that batch file executing? Basically, I know I can go through my control panel and modify the path variable. But, I'm wondering if there is a way to through batch progra...
- Modified
- 7 Feb at 13:26
Setting the correct PATH for Eclipse
Setting the correct PATH for Eclipse I recently changed my path so I could follow along in the Head First Java book and I had Eclipse before. Now when I try to get onto Eclipse again it won't open bec...
Getting Project Root Path In Controller ASP.NET MVC?
Getting Project Root Path In Controller ASP.NET MVC? I am using dotlesscss for my css and I remember how to use that but what I am forgetting is how to get the root project path so that I can generate...
- Modified
- 5 Mar at 13:0
How do I get the full path to a Perl script that is executing?
How do I get the full path to a Perl script that is executing? I have Perl script and need to determine the full path and filename of the script during execution. I discovered that depending on how yo...
Getting path to the parent folder of the solution file using C#
Getting path to the parent folder of the solution file using C# I am a beginner in C#, and I have a folder from which I am reading a file. I want to read a file which is located at the parent folder o...
- Modified
- 25 Jun at 00:34
Convert file path to a file URI?
Convert file path to a file URI? Does the .NET Framework have any methods for converting a path (e.g. `"C:\whatever.txt"`) into a file URI (e.g. `"file:///C:/whatever.txt"`)? The [System.Uri](https://...
How should I handle windows/Linux paths in c#
How should I handle windows/Linux paths in c# My intention is for my application to run on windows and linux. The application will be making use of a certain directory structure e.g. What would be a ...
Possible to specify directory path with a wildcard?
Possible to specify directory path with a wildcard? I have the following piece of code: That gets files from a specific directory. Would it be possible to match directories using a wildcard? For examp...
Setting environment variables on OS X
Setting environment variables on OS X What is the proper way to modify environment variables like PATH in OS X? I've looked on Google a little bit and found three different files to edit: - - - I don'...
- Modified
- 26 Aug at 19:33
How to ensure there is trailing directory separator in paths?
How to ensure there is trailing directory separator in paths? I'm having an issue with `AppDomain.CurrentDomain.BaseDirectory`. Sometimes the path ends with '', sometimes it doesn't and I can't find a...
list recursively all files and folders under the given path?
list recursively all files and folders under the given path? > [How to recursively list all the files in a directory in C#?](https://stackoverflow.com/questions/929276/how-to-recursively-list-all-the...
- Modified
- 23 May at 11:54
Absolute to Relative path
Absolute to Relative path I'm getting a file from an OpenFileDialog which returns a string with the absolute path to the selected file. Now I want that path as a relative path to a given path (in this...
Is there a way to easily parse file paths in portable class libraries?
Is there a way to easily parse file paths in portable class libraries? I'm needing to parse a path into parts from within a portable class library and get things like the filename, extension, just dir...
- Modified
- 29 Jan at 18:33
How to remove illegal characters from path and filenames?
How to remove illegal characters from path and filenames? I need a robust and simple way to remove illegal path and file characters from a simple string. I've used the below code but it doesn't seem t...
How to set JAVA_HOME in Linux for all users
How to set JAVA_HOME in Linux for all users I am new to Linux system and there seem to be too many Java folders. java -version gives me: - - - When I am trying to build a Maven project , I am getting ...
- Modified
- 8 Jul at 21:4
Getting Original Path from FileStream
Getting Original Path from FileStream Given a `System.IO.FileStream` object, how can I get the original path to the file it's providing access to? For example, in the `MyStreamHandler()` function belo...
- Modified
- 22 Jul at 14:24
Different between ./ , ../ , ../../ , ~/ on file path(URL) in asp.net
Different between ./ , ../ , ../../ , ~/ on file path(URL) in asp.net I have a script file . See the path is `~/Script`. But if I Entered `../../` instead of `~/`,Also the process are working same . M...
How to call Path.Combine from MSBuild?
How to call Path.Combine from MSBuild? I have an `` task that MSBuild runs whenever it builds my library. It looks like this: It seems to be working fine, however I'm worried that this may not work on...
Create whole path automatically when writing to a new file
Create whole path automatically when writing to a new file I want to write a new file with the [FileWriter](http://docs.oracle.com/javase/1.5.0/docs/api/java/io/FileWriter.html). I use it like this: N...
- Modified
- 3 May at 10:39
Path to Powershell.exe (v 2.0)
Path to Powershell.exe (v 2.0) Where is the Powershell (version 2.0) located? What is the path to Powershell.exe? I have Windows Server 2008 and Powershell installed. When I look at this folder: ``` P...
- Modified
- 10 Nov at 14:34
How do I include a path to libraries in g++
How do I include a path to libraries in g++ I am trying to include the path to extra libraries in my makefile, but I can't figure out how to get the compiler to use that path. so far I have: and I wan...
How to open my files in data_folder with pandas using relative path?
How to open my files in data_folder with pandas using relative path? I'm working with pandas and need to read some csv files, the structure is something like this: > folder/folder2/scripts_folder/scri...
- Modified
- 20 Jun at 09:12