276 Topics

Member Avatar for
Member Avatar for danielsikes

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. …

Member Avatar for pritaeas
0
233
Member Avatar for emreozpalamutcu

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 …

Member Avatar for Tumlee
0
189
Member Avatar for zaatlob

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 …

Member Avatar for vegaseat
0
249
Member Avatar for xxyuri

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 …

0
178
Member Avatar for baruchM

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. …

Member Avatar for vaultdweller123
0
171
Member Avatar for NetJunkie

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 …

Member Avatar for Reverend Jim
0
196
Member Avatar for Newjavauser1

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 …

Member Avatar for DavidKroukamp
0
202
Member Avatar for RazorRamon

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 …

Member Avatar for diafol
0
167
Member Avatar for Azmah

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 …

Member Avatar for pritaeas
0
191
Member Avatar for AccurateAG

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 …

Member Avatar for AccurateAG
0
241
Member Avatar for AccurateAG

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 …

Member Avatar for kissif
1
558
Member Avatar for Y DIY

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 …

Member Avatar for Y DIY
0
3K
Member Avatar for pimpingreen13

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, …

Member Avatar for MonsieurPointer
0
387
Member Avatar for xellos

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 …

Member Avatar for d5e5
0
146
Member Avatar for owdirectory

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. …

Member Avatar for peexter
0
395
Member Avatar for webdi

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. …

Member Avatar for Stefano Mtangoo
0
200
Member Avatar for wickedBlast

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 …

Member Avatar for wickedBlast
0
269
Member Avatar for joy12

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.

Member Avatar for sandra500
0
190
Member Avatar for Misklahr

Hi! Is there any way to remove a file from a directory when a session ends? (Like when a user closes the webbrowser)

Member Avatar for Misklahr
0
376
Member Avatar for Red Dragon

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> …

Member Avatar for Red Dragon
0
356
Member Avatar for Billy D

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 …

Member Avatar for Billy D
0
357
Member Avatar for JamieLynnSEO

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 …

Member Avatar for pgmco
0
205
Member Avatar for rafu5418

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 …

Member Avatar for rafu5418
0
81
Member Avatar for VasquezPL

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 = …

Member Avatar for VasquezPL
0
1K
Member Avatar for VasquezPL
Member Avatar for VasquezPL
0
2K
Member Avatar for Sturdy

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?

Member Avatar for Sturdy
0
5K
Member Avatar for ChrisHunter

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 …

Member Avatar for gusano79
0
190
Member Avatar for xxxferraxxx

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 …

Member Avatar for xxxferraxxx
0
2K
Member Avatar for m1234ike

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 …

Member Avatar for codeorder
0
610
Member Avatar for elson.james

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 …

Member Avatar for elson.james
0
268

The End.