tagged [directory]
Server.MapPath("."), Server.MapPath("~"), Server.MapPath(@"\"), Server.MapPath("/"). What is the difference?
Server.MapPath("."), Server.MapPath("~"), Server.MapPath(@"\"), Server.MapPath("/"). What is the difference? Can anyone explain the difference between `Server.MapPath(".")`, `Server.MapPath("~")`, `Se...
- Modified
- 15 Dec at 21:15
Moving up one directory in Python
Moving up one directory in Python Is there a simple way to move up one directory in python using a single line of code? Something similar to `cd ..` in command line
LdapConnection Vs DirectoryEntry
LdapConnection Vs DirectoryEntry Can anybody explain the difference between using LdapConnection/SearchRequest and DirectoryEntry/DirectorySearcher for Searching users in ActiveDirectory. Which one is...
- Modified
- 7 Oct at 10:33
How do you get a directory listing in C?
How do you get a directory listing in C? How do you scan a directory for folders and files in C? It needs to be cross-platform.
- Modified
- 3 Nov at 18:33
How to change MySQL data directory?
How to change MySQL data directory? Is it possible to change my default MySQL data directory to another path? Will I be able to access the databases from the old location?
Querying Windows Active Directory server using ldapsearch from command line
Querying Windows Active Directory server using ldapsearch from command line Can anyone let me know if querying Active Directory server using ldapsearch, ldapadd, ldapdelete, etc. utilities is possible...
- Modified
- 5 Sep at 14:17
Validate a username and password against Active Directory?
Validate a username and password against Active Directory? How can I validate a username and password against Active Directory? I simply want to check if a username and password are correct.
- Modified
- 5 Nov at 16:42
Using C#, how do you check if a computer account is disabled in active directory?
Using C#, how do you check if a computer account is disabled in active directory? How do you check if a computer account is disabled in Active Directory using C#/.NET
- Modified
- 2 May at 21:1
How do I find files that do not contain a given string pattern?
How do I find files that do not contain a given string pattern? How do I find out the in the current directory which do contain the word `foo` (using `grep`)?
How do I recursively delete a directory and its entire contents (files + sub dirs) in PHP?
How do I recursively delete a directory and its entire contents (files + sub dirs) in PHP? How do I delete a directory and its entire contents (files and subdirectories) in PHP?
- Modified
- 23 Aug at 21:45
What is the difference between Directory.EnumerateFiles vs Directory.GetFiles?
What is the difference between Directory.EnumerateFiles vs Directory.GetFiles? What is the difference between `Directory.EnumerateFiles` vs `GetFiles`? Obviously one returns an array and the other ret...
Alternative to FolderBrowserDialog
Alternative to FolderBrowserDialog Is there an alternative for selecting folders in C#? Optimally I'd like to use the OpenFileDialog to select folders, or at least something similar to that.
- Modified
- 17 Sep at 14:7
Get name of virtual directory?
Get name of virtual directory? I'm using Request.ApplicationPath to learn the name of the Virtual Directory in which I'm running. Is there a more reliable way?
- Modified
- 30 Jan at 18:43
cd into directory without having permission
cd into directory without having permission When `cd`ing into one of my directories called `openfire` the following error is returned: Is there any way around this?
- Modified
- 3 Dec at 23:51
Getting the .NET Framework directory path
Getting the .NET Framework directory path How can I obtain the .NET Framework directory path inside my C# application? The folder that I refer is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
- Modified
- 24 Apr at 21:29
LDAP - Retrieve a list of all attributes/values?
LDAP - Retrieve a list of all attributes/values? Is it possible to retrieve a list of all attributes/values from LDAP without specifying, if so how can this be possible?
- Modified
- 12 Nov at 13:9
JAVA_HOME directory in Linux
JAVA_HOME directory in Linux Is there any linux command I could use to find out `JAVA_HOME` directory? I've tried print out the environment variables ("env") but I can't find the directory.
Deleting all files from a folder using PHP?
Deleting all files from a folder using PHP? For example I had a folder called `Temp' and I wanted to delete or flush all files from this folder using PHP. Could I do this?
Adding and removing users from Active Directory groups in .NET
Adding and removing users from Active Directory groups in .NET I am writing the following methods to add and remove users from active directory in C#. How best to implement these methods? Here is some...
- Modified
- 26 Jan at 22:12
Browse for a directory in C#
Browse for a directory in C# How can I present a control to the user that allows him/her to select a directory? There doesn't seem to be any native .net controls which do this?
How to list text files in the selected directory in a listbox?
How to list text files in the selected directory in a listbox? How can I list the text files in a certain directory (C:\Users\Ece\Documents\Testings) in a listbox of a WinForm(Windows application)?
PrincipalContext & UserPrincipal how to know when password expires?
PrincipalContext & UserPrincipal how to know when password expires? I have a `UserPrincipal` object with a lot of properties, but I cannot find a property for the date that the password expires. How c...
- Modified
- 30 Nov at 21:46
Retrieve the Active Directory groups of the current user
Retrieve the Active Directory groups of the current user How can I get the Active Directory groups the current user belongs to? Is there a way to do this using the `DirectoryServices.AccountManagement...
- Modified
- 19 Aug at 19:59
How can I Compress a directory with .NET?
How can I Compress a directory with .NET? I have a directory that contains several files. I want compress this folder to a zip or tar.gz file. How can I do his work in C#?
- Modified
- 10 Feb at 10:33