276 Topics
| |
Hi, I am trying to copy a directory from one spot on my server to another spot on my server. I have copied the directory successfully, but suppose I delete a file in the "parent" directory. I want the "child" directory to be exactly the same as the parent directory. … | |
I'm trying to make a little disk cleaner program and I couldn't figure out how to display the results of scanned directory on list view tool on windows form application. I have a 3 columns and these are File Name, Folder Path and File Size. I want the program to … | |
I want to loop through directory and process the files in them. I do this with the following code. for (root, subdirectories, files) in os.walk(dirDialoog.GetPath()): for file in files: My problem is that the files processed 2 times. I tried the next code, but in that way the files weren't … | |
nginx server Problem to add trailing slash if I have two or more subdirectories rewrite ^/([^.]*[^/])$ $1/ permanent; //this is working example if I have one directory [url]http://example.com/foo/[/url] (with trailing slash, conventionally a directory) [url]http://example.com/foo[/url] (without trailing slash, conventionally a file) How can add trailing slash if I have two … | |
I have a directory named action at the same level as my basic script. I want to include a file called Upload which is in the action directory in my script. I keep getting errors saying the script can't find my file, but my script looks identical to the book. … | |
Hello DaniWeb, it has been a while since I have asked a question here so I thought now would be a great time to do so. I am creating an application that loops through the file names of a specific directory, in this case, the System32 folder. I want the … | |
Hi I'm new to java and I have written a simple Program and everything and set up a Path variable And then I tried to compile it by changing the cd and using javac Then it asks whether javac.exe can make changes to the computer. I tapped yes and then … | |
Hello I'm looking to allow users upload pictures onto my site and have it displayed and linked to their site.. This process is for Ad purposes. Ive looked into php mysql uploading images but ive ran into a lot of threads condemning the practice and suggesting saving the images to … | |
I'm looking for a decent directory scripts. I've looked at clones, free and commercial. The commercials look promising but am not sure if they really are worthit. I really need to be able to edit the theme/template and wouldn't mind if there were a plethora of themes available. Are there … | |
Hi: After having posted to over 1,000 directories, there are a few things I would like to bring to the attention of directory owners and operators: 1. When you ask for information, such as the URL, the e-mail address, the description, or whatever, PLEASE put any restrictions right on the … | |
This article assumes you have already done the following: 1. Built, activated, and optimized your website. 2. Done all your on-page SEO 3. Verified it and listed it with Google, Bing, and Yahoo, including your sitemap. 4. Listed your site with social media sites such as Twitter, Facebook, and LinkedIn … | |
I would like to know how to use a list contain with file names returned from a function to search a directory based on that list then copy the matching files to another directory. Following is what I would like to accomplish in logical order. 1. Existing Function getPromptList() return … | |
Im having a hard time figuring out what is wrong with my program. I need to write a program that looks up a phone number in a file containing a list of names and phone numbers. The user is to input the first name and last name to look up, … | |
ok i have a perl script [CODE]use strict; use warnings; open(my $in, ">>", "log.txt") or die "cant open log.txt $!" ; my @files = <*>; foreach my $file (@files){ print $in $file . "\n"; } close $in or die "$in $!";[/CODE] it gets the filenames that are in the same … | |
Hi guys, Here is a popular online web directory: [URL="http://www.onlinewebdirectory.com/"][B]onlinewebdirectory.com[/B][/URL] which is categorized as: 1. [URL="http://www.onlinewebdirectory.com/web-design/"]Web Design[/URL] Directory 2. [URL="http://www.onlinewebdirectory.com/graphic-design/"]Graphic Design[/URL] Directory 3. [URL="http://www.onlinewebdirectory.com/web-hosting/"]Web Hosting[/URL] Directory 4. [URL="http://www.onlinewebdirectory.com/web-development/"]Web Development[/URL] Directory 5. [URL="http://www.onlinewebdirectory.com/flash-animation/"]Flash Animation[/URL] Directory 6. [URL="http://www.onlinewebdirectory.com/software/"]Software[/URL] Directory [B]Onlinewebdirectory.com[/B] is also categories for [URL="http://www.onlinewebdirectory.com/"][B]Web Design Company[/B][/URL] according to: 1. [URL="http://www.onlinewebdirectory.com/city/"]City[/URL] 2. … | |
Hi, I've not been successful looking for a solution to my problem. What I need is to password protect a directory. I could use htaccess, but the user doesn't want a pop-up login window. He wants to start on a page with a form with the username and password fields. … | |
Hello community! My first post here. (might probably have been under c#.. filename.asp.cs) I have a web AD management project undergoing as I am currently at testing.. the interface *yay* Extent of the project; pulling a list of employees managed by Mr X. Edit specific fields. I'm building my interface … | |
If we do the directory submission, bookmarking submissions on the same IP address websites, then is it effects to current rankings or not. Is it spaming ? Please discuss your views here. Thanks in advance. | |
Hi! Is there any way to remove a file from a directory when a session ends? (Like when a user closes the webbrowser) | |
the aim of this programme is to create a .txt file (of which the name is specified by the user) of all the items in a certain directory (also specified by the user) the problem is about half way down, the 'mydir' bit [CODE] #include <iostream> #include <fstream> #include <string> … | |
I'm not sure if this is possible. Basically, I have a function that will detect the current active user. [CODE]string currentUser() { string user; ofstream outf("CurrentUser.dat", ios::trunc); system("whoami >> CurrentUser.dat"); outf.close(); ifstream inf("CurrentUser.dat"); inf >> user; return user; }[/CODE] I have another function which will create a directory in the … | |
My company has a PPC account with Google, naturally. We've been getting about 2 automated calls a day from Google inquiring about weather or not we would like our company to be listed in their directory. I know this sounds silly, but my boss wants me to find out if … | |
Hi, Anyone can help me to build this little program? i want to know that which folder or drive i'm in and my program will automatically write the status on the list box <example: kind of FileSystemWatcher1>. i mean, i want to get the current status of the drive and … | |
Hi guys! I have a code: [CODE] String Lastlogon(string username, string domain) { try { { DirectoryContext context = new DirectoryContext(DirectoryContextType.Domain,domain); DateTime latestLogon = DateTime.MinValue; string servername = null; DomainControllerCollection dcc = DomainController.FindAll(context); foreach (DomainController dc in dcc) { DirectorySearcher ds; using (dc) using (ds = dc.GetDirectorySearcher()) { ds.Filter = … | |
Does anybody know how to query all groups with provided user in managed by field? Thx in advance. | |
Hi all, I'm New to VB 6. I want to select a file from the directory like another applications. How i can do that? | |
Hi, At the moment i'm trying to locate xml files to use their content. I would like to be able find all files that have a particular pattern in their name (for example student_James.xml; student_Chris.xml so "student" would be the pattern). I want to be able to do this using … | |
Hi, I need help with Resource files.... That i need to do is running file that i have put in the resource files (exe file) So the idea of this when i click the button the file that i have put run so it cant be happen with shell. is … | |
I want to create a program that I can create a Text file folder on my desktop and move all the text files into the folder. Here is what I have so far: Below is where I create the Text folder: [code]Dim myPath As String = IO.Path.Combine(My.Computer.FileSystem.SpecialDirectories.Desktop, "Text") IO.Directory.CreateDirectory(myPath)[/code] Here … | |
Hi there, I've search all over the internet on how to list a directory in PHP but failed to do so. I've seen other php scripts but it didn't have the features I want. Do you have something like this: 1. It allows you to display all the directories and … |
The End.