folder

How to "undelete" a deleted folder in Subversion / TortoiseSVN?

We have accidentally deleted the 'tags' folder from our Subversion repository where we only intended to delete one specific tag. What is the easiest way to get the 'tags' folder back? We use TortoiseSVN as our client and I thought that when I go to the repo browser and show log, there will be something like "revert changes from this rev...

asp.net folder authorization

I'm using my own database and forms authentication. The database contains one table with users and second one with roles, that users are assigned to. The question is: how to prepare the section in web.config, so it allows acces to the folder only for users belonging to one of the roles? Second question: Using IIS configuration I ca...

Maven and Eclipse problem - looking for resources

Hello! I have a problem, that maven is looking for resources inside of Eclipse installation folder. It is saying: This file was not found: file:/C:/eclipse/eclipse/src/main/resources/config/spring/applicationContext.xml While my workspace is in c:/Work/Core/ and inside src/main/resources. Is there any configuration for pom.xml to o...

Web Application (Django) typical project folder structure

I am very new to web development, just wanted to figure out if there is a recommended(preferred) project folder structure to use (may be even specific to Django based projects). Thank you. ...

Have Directory.GetFiles return one file at a time? (.NET)

Hi everyone. I have a folder with far too many files in, and I want to go through each file one by one. The problem is that Directory.GetFiles returns a completed array, and this takes too long. I would rather have an object I would point to a folder, then call a function that returns me the next file in the folder. Does .NET have a cla...

How can I opt the user to delete all files in a folder (but no subdirectories)?

I've got a folder path. The folder contains a lot of files as well as some subfolders. I'd like to let the user delete the files (but not the folders) using the standard windows dialog. I'm currently using this code, which deletes the whole folder. Microsoft.VisualBasic.FileIO.FileSystem.DeleteDirectory ( path, UIOption.AllDial...

PHP: upload files to network shared folder

Hi there: I have a problem uploading file to a network shared folder. I can connect to the folder by using windows authentication in IE. The script is as followed: $target_path = '\\\\server\\images\\'; $target_path = $target_path . basename( $_FILES['uploadedfile']['name']); if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'],...

WinForms equivalent of Java's JFileChooser.FILES_AND_DIRECTORIES

Java has JFileChooser.FILES_AND_DIRECTORIES to allow the user to select a file or a folder. .NET WinForms has OpenFileDialog for files and FolderBrowserDialog for folders. Does .NET have any component that can allow for either? ...

Change Dll Folder In Visual Studio 2008 C#

I have 2 projects in my solution. The first one is a console application, and the second is a dll, used (referenced) by the console. When I build my solution (release) I get one EXE file and one DLL file, because "copy local" is true (if I set it to false, it doesn't run) How can I store that DLL file in a subdirectory? If my output fol...

Folder to dump windows service log files

Short: What's the most appropriate folder for windows service to dump log files into? Details I have a windows service that produces log files that a low-tech end user might be interested to look at (actual communication between a computer and a manufacturing line monitoring sensors). The computer is a stand-alone dedicated computer...

How do I scan a folder in Java?

I need to scan a particular folder in Java, and be able to return the integer number of files of a particular type (based on not only extension but also naming convention.) For example, I want to know how many JPG files there are in the \src folder that have a simple integer filename (say, 1.JPG through 30.JPG). Can anyone point me in th...

FPSE, folder permissions and SharePoint Designer

All, A few of our internal users are editing one of our classic ASP sites (Not a SharePoint site) via Sharepoint Designer which I believe uses FrontPage Server Extensions. I would like to give a particular user author rights to a single folder - ie, /products and any items and folders it contains. Any suggestions? ...

how to make a folder for the files placed in listview in c#.net ?

whats the procedure to send the files placed in a listview to a folder.. that is... i need to place all the files in the listview to a folder on button click event.. on button click it should make a folder for all the files in the list view and send them in.. im using winforms in c#.net ...

How to access codeigniter files from one directory to another different directory

I have XAMP installation, with htdocs in D drive. I copied Codeigniter/System folder to E drive. Now when i type http://localhost, i should able to access E:/Codeigniter/System/index.php How can i achieve this. ...

Safely move Microsoft SDKs folder

I have a folder on my hard drive, C:\Program Files\Microsoft SDKs, and I was wondering if it is safe to move it to an external drive. Does Visual Studio or any other tool depend on this particular folder? ...

Protect Windows folder without encrypting the contents

Hi, I want to protect the "www" folder in my Apache server. Checked some tools on the net like TrueCrypt, FolderEncrypt etc. All these encrypt the folder contents. If the www folder is encrypted, then my php won't work. Is there a way to lock the folder in windows without encrypting its contents.[ A little harder to crack then no lock at...

WiX/Windows Installer: Re-install to a new folder

1. I am using WiX for creating installer and would like to implement the following behaviour: If a user launches msi installer for the product and the product already installed, then wizard works similar to pure (first time) installation with exception of some things (e.g. license aggrement screen is omitted). The wizard should allow for...

What should I write into the .bat file for it to find all files in folder and replace them with file from another?

What should I write into the .bat file for it to find all files with same names in folder (and it's sub folders) and replace them with file from another file (from another folder)? Is there any fast way if we have 1 000 000 folders with nearely 10 000 files for replacement? ...

Finding folders

Hello. I want to find how much folders are in folder or I should say how much SubFolreds are in folder. So, how I should do that??? P.S. I'm programing with Delphi ...

How can the SelectDirectory Dialog in Delphi dynamically validate the highlighted folder?

Is there a way to enable / disable the Ok button in the SelectDirectory Dialog based on a validation rule, for example: enable the OK button if the name of the highlighted folder is 'config' enable the OK button if the highlighted folder contains a file with the name '.project' and a folder with the name '.settings' ? ...