Hi
I have a site where I'd like to convert the first subfolder into a parameter (from a set list of subfolders), so
http://localhost/mysite/folder1/dosomething.php
is displayed as shown above, but to PHP it looks like:
... localhost/mysite/dosomething.php?organisation=folder1
I only need to do this on certain folders (i.e. not ... l...
I'm writing a program that needs to search a directory and all its sub directories for files that have a certain extension. This is going to be used both on a local, and a network drive, so performance is a bit of an issue.
Here's the recursive method I'm using now:
private void GetFileList(string fileSearchPattern, string rootFold...
I want access to a storage folder but its actual location can vary with environments. Could I store properties into JNDI or do something similar to a datasource in JBOSS? How would I go about it?
Thanks.
...
Hi All
I need to get all the modified files inside a folder including the subfolders inside it, and copy them to another folder. How can it be done using VBScript or any other way to achieve this?
Thanks in advance,
Bibhu
...
I am looking for a Windows API that I can call from Delphi 2010 which will allow my application to determine if a specific folder has content-indexing enabled. In other words whether there is a tick in the checkbox named 'Allow files in this folder to have contents indexed in addition to file properties' which is in the Advanced Attribut...
This might be an overly simple question, but I am a beginner at programming for the iPhone with Xcode. My project uses a lot of picture files for UIImageView animation arrays. I add all of the pictures into my resource file but the resources folder is getting a bit unwieldy. Is there a way to add subfolders in resources that do not ch...
Hello everyone,
I have a really quick question. My program actually downloads a zip file then extracts it onto their desktop. But I need an uninstall feature for it, which is basically deleting multiple folders and containing files. How can I do this in vb.net?
Thanks
...
I am still getting my head around the import statement. If I have 2 folders in the same level:
src
test
How to make the py files in test import the modules in src?
Is there a better solution (like put a folder inside another?)
...
Hi,
in the current project I have a number of folders, with subfolders, and these contain images: 01.png, 02.png.
Folder1/FolderA/f1.png
Folder1/FolderB/F1.png
When I compile the app, I looked inside the the .app and noticed that all the images are placed in the top level, with no sub-folders.
So clearly when trying to load the imag...
Hi there,
I've accidentally copied a large part of a folder tree from my SVN working copy to my shared Windows web host via FTP.
The site is now littered with .svn directories and and I need some way of cleaning them. The only access I have to the server is via FTP, or by running a script on the server.
Does any one have a script whic...
hi
i`m C# programmer
i want to active my program when user click on folder in "explorer".
TNX
...
I want to quickly find the total size of any folder using python.
import os
from os.path import join, getsize, isfile, isdir, splitext
def GetFolderSize(path):
TotalSize = 0
for item in os.walk(path):
for file in item[2]:
try:
TotalSize = TotalSize + getsize(join(item[0], file))
ex...
Hello! I recently created my first bash script, and I am having problems perfecting it's operation. I am trying to copy certain folders from one local drive, to a network drive. I am having the problem of deleting folders once they are copied over, sometimes the folder would be empty of contents, but the folder itself would remain, other...
Hi all,
After installing .NET versions, 3.0 and 3.5 on my system, dummy or temp folders are created. These folder names are with the GUID. I want those temp/guid folders to be deleted automatically after the .NET installation. I have tried using the following in cmd line
cmd: C\XXX\XXXX\dotnetfx35.exe /q /nobackup /norestart.
As far as ...
I need to read a website's folders using WMI and C# in IIS 6.0. I am able to read the Virtual directories and applications using the "IISWebVirtualDirSetting" class. However the physical folders located inside a website cannot be read using this class.
And for my case i need to read sub folders located within a website and later on set...
I have a set of folders that has a depth of at least 4 or 5 levels. I'm looking to recurse through the directory tree as deep as it goes, and iterate over every file. I've gotten the code to go down into the first sets of subdirectories, but no deeper, and I'm not sure why. Any ideas?
$count = 0;
$dir = "/Applications/MAMP/htdocs/site.c...
Like start at c:\ (or whatever the main drive is) and then randomly take routes? Not even sure how to do that.
public sealed static class FolderHelper
{
public static string GetRandomFolder()
{
// do work
}
}
...
Hello,
In an attempt to learn C#, I am trying to develop Picasa Like Application to display Photographs from my Library.
Would it be possible to display folders as in Picasa Using C# ?
Any help would be highly helpful.
...
I have a lot of projects in my .Net solution. I would like to exclude all "bin/Debug" and "bin/Release" folders (and their contents), but still include the "bin" folder itself and any dll's contained therein.
.gitignore with "bin/" ignores "Debug" and "Release" folders, but also any dll's contained in the "bin" folder.
"bin/Debug" or "...
In C# I want to open explorer and in this explorer window must be selected some files. I do this like that:
string fPath = newShabonFilePath;
string arg = @"/select, ";
int cnt = filePathes.Count;
foreach (string s in filePathes)
{
if(cnt == 1)
arg = arg + s;
...