folder

unable to build ant with Clearcase on VMware

So here is the problem. I have a local snapshot in my local windows system and i run my ant script and it builds. I have build system which is also winxp but its a vmware built inside ubuntu. i have also a snapshot there too in winxp , and my script runs against this. But clearcase doesnt allow to write anything on this folder and buil...

How do I get CodeIgniter to create new folders?

I have a user system where, when you register for an account, it's supposed to automatically create a new folder for you. I've placed something along the lines of mkdir('./upload/' . $this->session->userdata('id'), 0, true) in my Register controller but to no avail. Does anybody know how to get it to work? ...

What is the safest way in ColdFusion to delete a folder and it's contents?

I am finishing creating a file upload utility for our site, and if the upload is an invalid format (per our specs not worth going over here) I would want to delete the folder the zip file was unzipped to, and all it's contents. So far I have used a method of creating a dynamic batch file like this: <!--- check if folder exists befo...

check file exists or not in folder in php

hi i want to know how to check the filename in folder with some condition. for example : the folder name is "output" this folder containing the following the images. 2323a.Png 5235v.Jpeg 2323s.jpg 23523s.JPEG etc.., if i check the file name is "2323a.png" but there is file name is 2323a.Png. how to i check the filename is incasesensi...

Outlook MailItem opened from standalone file, or not?

I'm developing an Outlook addin in C# and have a problem distinguishing mails opened from a folder (Inbox, Sent etc) from mails opened from a standalone .msg file. I've tried inspecting the Parent property, but it shows Inbox for both kinds. Any ideas out there? /Sam ...

Subfolder traversal

I have a set of subfolders 3 levels deep over with over 20k files in c:\MyData. There is an almost identical set of subfolders on my E drive at e:\projects\massdata I want to check in C and anything that already exists in E (same folder name, same file name, same size), I want to delete from C. What is my best way of traversing this f...

Apple Automator prompt user to enter folder name

Hello. Is it possible with Automator to create a new folder, but when doing so to have the user enter the location and name the older should be? So, I take an image, scale and rename it, and save it to a new folder defined during the runtime? Thanks. ...

How to create a folder using a variable name in C#?

Hi, Directory.CreateDirectory(@"C:\test"); Works great. I'm able to create the folder. BUT code below doesn't work. using System; using System.IO; class iolar { public static void klasorOlustur() { Console.WriteLine("Oluşturmak istediğiniz BİRİNCİ klasörün adı?"); string a=Console.ReadLine(); Console.WriteLine("oluşturmak i...

Magento theme problem

I tried creating a new theme in Magento by creating the following folders: /app/design/frontend/interface/default /skin/frontend/interface/default I copied into these folders the entire content of the base/default folders (in both skin and design). I enabled the theme bu putting "interface" in "current package name" for a website and...

Is it possible to simulate a shared folder without changing the name of the computer?

I need run a local demo of a program that have a harcoded path to a .mbd database in the format: \\ComputerName\SharedFolder\db.mbd I can't change the name of local machine because is needed for logging purposes. Thanks in advance ...

How to add an existing sub-folder (with/without child files/folders) to the solution?

The folder resides within my solution physical location but I can not find a command to add existing folder to the project from right-clicking. All I can see is "Add existing files". Trying to create the folder is denied since it already exists! I tried to move the folder out of the solution folder on the hard disk, and add it again. Th...

SharePoint Designer DataView New Upload bound to Document Library - where did file go and can I set to a folder?

I have a Dataview bound to Document Library with the New Document button enabled. It apears to upload but can't find the files anywhere. I don't have a Shared Document folder. How and where do you set where to upload the file? A specific folder would be nice and If I could make it dynamic tied to QueryString that would be ideal. Going...

External App: Check if an Outlook Folder exists

SOLUTION BELOW I've been looking all over the net to find a solution for this, but it seems quite hard to get an answer for this in Delphi... Skip this if you're familiar with Outlook Some explanation before: The Contacts Folder in Outlook is organized like a foldertree in Windows. The Contacts are stored in the Contacts Folder itself...

Including files issue with relative paths on a linux system

Hi, I have the following directory tree structure: /index.php /code/inc/variables.php /code/inc/config.php index.php is the file that is called. On our development system in: /code/inc/variables.php, when I have the line: require_once("./code/inc/config.php"); it doesnt work and when I have: include_once('config.php'); it does...

How to set chmod for a folder and all of its subfolders and files in Linux Ubuntu Terminal?

So I want a way to set chmod 755 to /opt/lampp/htdocs and all of its content including subfolders and files, and If I create a new folder or file the chmod of that should be also 755. chmod 75 /opt/lampp/htdocs works but only for this folder :| ...

C# - Changing Windows Folder Option Setting

I need to be able to have access to a hidden file and if I try to access it without the appropriate setting set, I will get an access error. Is there a way to change this option: http://img213.imageshack.us/img213/658/captureplz.png through C# code? I am guessing the Registry, but I'm not sure where this would be. ...

Folder redirection php

Ok so what I am trying to do is have multiple folders pull from one folder. So if I have this structure: /test1/some_folder /test2/some_folder /test3/some_folder I would want all of those folders named some_folder to read from a master directory. I dont need them to be able to go that specific url just need it to include the files fro...

deleting folder from java

hi, i want to delete all the contents that are present in a folder which includes files and folder too. I have written a java code to delete all the files but i am unable to delete the folders. below is the code i am using.. public void startDeleting(String path) { List<String> filesList = new ArrayList<String>(); List<S...

How to restrict folder access in asp.net

How to restrict folder access in asp.net like i dun want any other to see my Uploads folder in browser by link http://www.myweb.com/Uploads Please help ...

How/can I create single folder access per user on one database?

I have an existing website with a php database and multiple users; however, once logged in each user has access to every folder on the database. I want to limit users to one folder. How/can I create single folder access per user on one database? ...