tagged [path]
Materialized path pattern VS Hierarchyid
Materialized path pattern VS Hierarchyid I am reading the SQL server 2008 bible and it says the materialized path pattern is significantly faster then the hierarchyid. Is this really true? How can I m...
- Modified
- 22 Apr at 23:36
Get path to execution directory of Windows Forms application
Get path to execution directory of Windows Forms application I would like to get the path to the execution directory of a Windows Forms application. (That is, the directory in which the executable is ...
How to get folder path from file path with CMD
How to get folder path from file path with CMD I need path to the folder that contains cmd file. With `%0` I can get the file name. But how to get the folder name? P.S. My current directory != folder ...
How can I determine if a given drive letter is a local, mapped, or USB drive?
How can I determine if a given drive letter is a local, mapped, or USB drive? Given the letter of a drive, how can I determine what type of drive it is? For example, whether E:\ is a USB drive, a netw...
How Can I Remove The 'file:\\' From the Return Value of Path.GetDirectoryName() in C#
How Can I Remove The 'file:\\' From the Return Value of Path.GetDirectoryName() in C# output: What's the best way to return only `file:\\` will throw exception when I call `doc.Save(returnPath)` ,howe...
Converting a URI path to a relative file system path in .NET
Converting a URI path to a relative file system path in .NET How do I convert an absolute or relative URI path (e.g. `/foo/bar.txt`) to a (segmentwise) corresponding relative file system path (e.g. `f...
Get full path without filename from path that includes filename
Get full path without filename from path that includes filename Is there anything built into `System.IO.Path` that gives me just the filepath? For example, if I have a `string` > @"c:\webserver\public...
Running python script inside ipython
Running python script inside ipython Is it possible to run a python script (not module) from inside ipython without indicating its path? I tried to set PYTHONPATH but it seems to work only for modules...
Why doesn't os.path.join() work in this case?
Why doesn't os.path.join() work in this case? The below code will not join, when debugged the command does not store the whole path but just the last entry. When I test this it only stores the `/new_s...
"SystemFolder" in WIX and C#
"SystemFolder" in WIX and C# An installer I have created with WiX installs a DLL using the `SystemFolder` variable, as well as a C# app into another folder. I want to directly reference the DLL from t...
- Modified
- 30 Mar at 11:6
Get absolute paths of all files in a directory
Get absolute paths of all files in a directory How do I get the absolute paths of all the files in a directory that could have many sub-folders in Python? I know `os.walk()` recursively gives me a lis...
- Modified
- 9 Jan at 18:58
Python os.path.join() on a list
Python os.path.join() on a list I can do But, when I do What am I missing here?
- Modified
- 23 Feb at 13:11
How to get current working directory in Java?
How to get current working directory in Java? Let's say I have my main class in `C:\Users\Justian\Documents\`. How can I get my program to show that it's in `C:\Users\Justian\Documents`? Hard-Coding i...
- Modified
- 18 Dec at 18:57
Java, How to add library files in netbeans?
Java, How to add library files in netbeans? I am new to the Netbeans IDE and Java. I have a java project that shows lot of compilation errors: Can somebody please help me with these errors, How do I a...
- Modified
- 27 Jul at 13:3
Get parent directory name in Node.js
Get parent directory name in Node.js I am using Node.js, and I want to obtain the parent directory name for a file. I have the file `"../test1/folder1/FolderIWant/test.txt"`. I want to get `"FolderIWa...
Get file name from absolute path in Nodejs?
Get file name from absolute path in Nodejs? How can I get the file name from an absolute path in Nodejs? e.g. `"foo.txt"` from `"/var/www/foo.txt"` I know it works with a string operation, like `fullp...
How do you install an MSI with msiexec into a specific directory?
How do you install an MSI with msiexec into a specific directory? I want to install an MSI file with msiexec into a specific directory. I am using: Using "INSTALLDIR" is not working properly because t...
- Modified
- 20 Sep at 18:42
Does Java have a path joining method?
Does Java have a path joining method? ### Exact Duplicate: [combine paths in java](https://stackoverflow.com/questions/412380/) I would like to know if there is such a method in Java. Take this snippe...
Creating a File that the Path does not exists?
Creating a File that the Path does not exists? I just can't get around this. I am able to create a file with `File.Create`... `File.CreateText` and so on but only if the path exists. If the path doesn...
How should I write a Windows path in a Python string literal?
How should I write a Windows path in a Python string literal? What is the best way to represent a Windows directory, for example `"C:\meshes\as"`? I have been trying to modify a script but it never wo...
- Modified
- 13 Jan at 08:24
Regex Last occurrence?
Regex Last occurrence? I'm trying to catch the last part after the last backslash I need the `\Web_ERP_Assistant` (with the `\`) My idea was : ``` C:\Projects\Ensure_Solution\Assistance\App_WebReferen...