folder

Permission denied on creating a folder under wwwroot/vhosts/sitename/test using VBScript

Hello, I am trying to make my ASP page to create a folder on a directory path. I am getting an error: Microsoft VBScript runtime error '800a0046' Permission denied I now its somthing to do with IIS 7 IUSR permission for the folder. The code is below. <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% dim strUserName foldername= "myfol...

We have two braches in TFS(Standard and Enterprise) of which many of the files are common. How do we manage changes in both?

Hi, We have two folder structures in TFS(two seperate braches) for same application. One branch managing normal desktop application and another with client-server architechture. The later one has extra features. Apart from few files, most of the files are common between the branches. If we have a change, we have to do it in both the s...

redirect all pages (website) to a folder within the same domain..

Hi guys, can anyone of you tell me whatever should I use so that I can redirect all of my pages (entire website) from root/folder1/* to root/folder1/folder2/* Also along with this I would like to redirect all the pages from root/folder3/* to root/folder1/folder2/* please give the code(s) to be written in .htaccess and also also where t...

Accurev: How can I see new folders created in a parent stream inside a workspace?

Hi all, I've created a new folder (with files and sub-folders) in a workspace. I then promoted them all into a parent stream (and even to the grandparent one). However I cannot see them in another workspace stemming from that parent stream. It does not appear in Exclude/Include mode either. What am I doing wrong? Thanks, Michael ...

Work with assets via URL without download

Hi! I want to work with assets (images, videos, audios...) which are uploading and which I can access to via URL, http://www.mypage.com/videos/nameVideo.flv, for example. What I want to do is to extract metadata from them or other stuffs without have to download them in my local machine. Before, what I have been doing is getting from my ...

How do I check if a directory is a file or folder?

Okay, so I'm using mingW, and the direct struct has no variables named d_type or stat, d_stat, or dd_stat. I need to know how I can use my direct struct to figure out if what I have is a file or folder. Here is my code. #include <sys/types.h> #include <sys/stat.h> #include <dirent.h> #include <errno.h> #include <vector> #include <string...

Java renameTo on folder with contents

Just trying to use Java to rename the root of a folder tree. Using File.renameTo() works in Windows only is the folder has no contents at all. I can't seem to find if this is expected behaviour or not. It doesn't seem to be mentioned in the docs. I am current having to use a recursive file\folder copy process then delete the original, ...

How to write tag deleter script in python

I want to implement a file reader (folders and subfolders) script which detects some tags and delete those tags from the files. The files are .cpp, .h .txt and .xml And they are hundreds of files under same folder. I have no idea about python, but people told me that I can do it easily. EXAMPLE: My main folder is A: C:\A Inside A, I...

XCode uses an .xib not inside the project folder

I went back to an old project and recompiled it for OS 4.1 succesfully and ran it. I was asked to add a fourth tab to the Tab Bar, but I could not set its class to the newly added ModelsVC.h/.m. [edit: because it did not appear in the class dropdown, but the other viewcontrollers were there.] I moved the project folder to a backup folde...

System.IO.Path.GetTempPath() access denied

Hi, im creating temporary files to be stored in the Temp folder found by: string path = System.IO.Path.GetTempPath() method returns C:\windows\Temp\ i append my filename: string filename = myfile.txt System.IO.Path.Combine(path,filename) However, this gives me a "Message":"The given path\u0027s format is not supported.","StackTrac...

Install directory from deployment projects

Hello all, I'm developing an application and I'm going to deploy it with the help of a deployment project (which is gonna create an installer). At one step in the installer, it will allow the user to change the installation folder for the application. I need to know what this folder is because there will be some files saved there that...

How to configure an extra/different migrations folder

Hello. Me and a colleage are working in different projects that share some models. So, we are sharing the models thru a git submodule. Additionally, we'd like to be able to also share migrations: In this way, my collegue's migrations would be in the folder db/migrate/other_db of my project. How can I configure rails migrations to also...

In Xcode, can you specify another default folder for classes, not Classes/ ?

If you create new files, and don't have a Classes/ subdirectory in the project root directory, Xcode dumps them in the project root. I'd like to specify where they go. FWIW, I know you can link individual files a project to anywhere, with lots of options. Also, what I'm talking about here is the actual file system, not the groups, etc. ...

Rails Load a icon which isn't saved in the images folder

Hi, I wand to give a preview of the just uploaded pictures. These pictures are not saved in the public folder, as they are not public... How can I do this? Thanks Markus ...

How to find application folder on iPhone

Hello, I'm going to make an app which influence another app. The only thing I don't know is ... How to find the folder of the other app (Like "0A007EC0-F477-4A61-8F67-C075024F8463"). Does someone know it ? Thanks, Vinzgore ...

When moving a folder in the server, correct all links

Lets say I have this folder on my server called books. Inside I have and index.php with this links: books/book1.php books/book2.php I then decide to create a subdirectory called "scifi", for a better sorting of the books. So the books are no in: books/scifi/book1.php books/scifi/book2.php The links have changed and now the links on i...

PHP Include() whole subdirectory with jQuery navigation bar

Hi, I have a subdirectory folder called /lefnav It contains this files: background.jpg demo.html heading_bg.jpg jquery.js navigation.jpg sliding_effect.js styles.css tab_bg.jpg Thumbs.db Thumbs.db/encryptable It actually contains al the elements of this tutorial: http://net.tutsplus.com/tutorials/javascript-ajax/how-to-create-a-moo...

Why is Apache not redirecting a folder it should be and not compressing?

Ok, so this problem recently arose and I don't know why it is happening; it's actually two problems in one... 0. My .htaccess file, for reference. Options -Indexes +FollowSymLinks RewriteEngine On RewriteBase / ErrorDocument 400 /index.php?400 ErrorDocument 401 /index.php?401 ErrorDocument 403 /index.php?403 ErrorDocument 404 /index.p...

Is it faster to have more files in fewer folders, or more folders with fewer files?

Hey all. I'm creating an application that is going to be generating and storing millions of images. Before I start on this, I'm wondering if anyone knows if it's better to generate more folders and only keep a few files in each, or should I use a few folders and fill them up with lots of files? The generator will be written in C++ and...

C++ how to check if folder is empty / list existing files

Possible Duplicate: How do you iterate through every file/directory recursively in standard C++ Hello everyone! I've been looking for a way to check if a determined folder is empty or not, and if it isn't, list the existing files in the folder, but of course to no avail. I've been looking around and found something called di...