folder

How to remove files and directories quickly

I am using a mac. When I use the "rm" command it can only remove files. The "rmdir" command only removes empty folders. If you have a directory with files and folders with files and folders in them and so on. Is there anyway to delete all the files and folders without all the strenuous command typing? Remember, I am using the mac bash sh...

C# Arranging icons and changing folder display

Is it possible to arrange icons (just placing them at different locations on the desktop/in folders), and if so, could someone point me in the right direction? I'm also interested in changing the properties for a folder programmatically, like "Documents", "Pictures", "Detailed list" and so on. Thanks ...

Deleting a folder in TFS

I created a folder in a TFS Project under workspace "CPortalWS". I deleted the workspace, but now I would like to delete the folder in the project and the delete option is not available. I've tried to create a new workspace mapped to the project but I still don't get the option to delete. Is this a bug in TFS? How can I delete the fo...

how to check if ANY directory exists without knowing a specific directory name, but rather just the folder that the folder might be in

In vb.net how do you check if a ANY directory exists inside a directory I would need to know if there is a folder inside the c:\windows directory (WITHOUT knowing if there is ANY directory is in there). ...

How do I get the folder numbers from internet

I have a server on the internet which contains several subfolders like followings, each folder contains several datas, I would like to download a certain amount of data from the server (ex: all the data in the folder a\b\01), my question is, how can I get the subfolder number of the folder 01? in this case the number is 8, but how can I ...

Removing a Subversion folder from the client and server

Hi. I have been using Subversion for a few days now and have a question... I have a folder deep in my subversion trunk that I want to remove and replace with another folder. I have read about this on here and tried: Export: I clicked on the folder I wanted to remove I then created a new backup folder elsewhere when prompted I the...

How to go from physical location to a virtual folder in Visual Studio 2008?

I have a file open in Visual Studio. When I hover the mouse over its tab at the top. it tells me the physical location of the file. In the solution explorer I only see virtual folders, however. I wish to quickly browse to all other files in the same project. How can I do that? Thank you. ...

How to Hide a folder in Sharepoint

What else I need to add to following code to make sure the folder is hidden or read only? SPListItem createFolder = myDocLib.Folders.Add(myDocLib.RootFolder.ServerRelativeUrl, SPFileSystemObjectType.Folder, "Folder444"); folder.Update(); ...

How to obtain the first cluster of the directory's data in FAT using C# (or at least C++) and Win32API?

So I have a FAT drive, lets say H: and a directory 'work' (full path 'H:\work'). I need to get the NUMBER of the first cluster of that directory. The number of the first cluster is 2-bytes value, that is stored in the 26th and 27th bytes of the folder enty (wich is 32 bytes). Lets say I am doing it with file, NOT a directory. I can use...

Why I cannot see an image if I do not use the full name of an image?

I try to add an image to JPanel. It works if I specify the full name of the image (including name of all folders). But I want my software to be machine independent (another machine does not have the same folder structure as my machine has). So, I put my image to the same place where the source is and in my code I use just name of the ima...

A resource for installation or setup folder hierarchy of various applications

Is there a web site (or something else) that has information on folders and their hierarchy where various programs and applications are installed? Please let me explain. I am writing an application that (part of what it does) references certain files installed by other application. To be able to determine the file paths for these folder...

How to access the iPhone Library folder programmatically

I heard in this TUAW Article that iPhone apps should stop using the Documents folder to store files. Instead they should use the library folder. How do you access the Library folder to store files to it? Thanks in advance! ...

Qt 4.x: how to implement drag-and-drop onto the desktop or into a folder?

Hi all, I've written a little file-transfer application written in C++ using Qt 4.x ... it logs into a server, shows the user a list of files available on the server, and lets the user upload or download files. This all works fine; you can even drag a file in from the desktop (or from an open folder), and when you drop the file icon in...

Finding most recently edited file in python

I have a set of folders, and I want to be able to run a function that will find the most recently edited file and tell me the name of the file and the folder it is in. Folder layout: root Folder A File A File B Folder B File C File D etc... Any tips to get me started as i've hit a bit of a wall...

How can I turn the structure of an XML file into a folder structure using ANT

I would like to be able to pass an XML file to an ANT build script and have it create a folder structure mimicking the nodal structure of the XML, using the build files parent directory as the root. For Example using: <root> <folder1> <folder1-1/> </folder1> <folder2/> <folder3> <folder3-1/> </fold...

How to delete a folder in which was started ap a script? (php)

so I have a delete.php in folder abc so i call localhost/abc/delete.php . I want to be able to delete abc folder and all its contents from server when I call localhost/abc/delete.php How to do such thing? ...

Display all images from outside web root folder using PHP

Hello, I want to display all images that are stored outside my web root folder. Please help me. I am only able to display one image repeatedly. For example, if I have 5 images in my folder, only one image is displayed on my browser 5 times. Please help me on this. I've been working on this problem for over a month now. I'm a newbie. Hel...

ASP.NET access files on another computer shared folder

Hello, I have ASP.NET project which do some file access and manipulation, the methods which I use for file access are below. Now I need to access files on another server shared folder, how to do that? I easily can change file path to shared folder path but I get "can't access" error because shares are password protected. As I understan...

Set permissions on folder used by winform application

My winform application periodically pulls a flash file from an SQL database, writes it to a temporary folder, displays it in a webbroswer control, and then deletes it from the temporary folder. My application creates the temporary folder if it does not exist. The temporary folder is located in 'System.Environment.CurrentDirectory'. My...

Unable to set relative path for flash file in ASP.NET MVC using AC_FL_RunContent

Hi, I have a website using asp.net mvc in which I need to embed a flash file in view. I am unable to set the relative path for the flash file. Given below is the code I am using: AC_FL_RunContent( 'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0', 'width', '487', 'height', '359', 'menu...