473,504 Members | 13,601 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

New Folder each day

AMP
Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike
Jun 27 '08 #1
4 2616
On May 29, 4:59 pm, AMP <ampel...@gmail.comwrote:
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Just format DateTime.Today as a string in some suitable format and
create that as a folder. Have you already tried that and run into
problems?

Jon
Jun 27 '08 #2
We did something like this with weather data. Basically, for an observation
you look at the date and generate a folder name based on the date. If
generating folder names by year\month\day makes sense, then you could go with
that. The key is to test the existence of the folder when it is needed, and
create as necessary.

"AMP" wrote:
Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike
Jun 27 '08 #3
On May 29, 11:59*am, AMP <ampel...@gmail.comwrote:
Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike
what is your doubt?
you can generate a name by using DateTime.Today.ToString( "MMddyyyy")
and use it as a folder name.
Jun 27 '08 #4
AMP
On May 29, 4:06*pm, "Ignacio Machin ( .NET/ C# MVP )"
<ignacio.mac...@gmail.comwrote:
On May 29, 11:59*am, AMP <ampel...@gmail.comwrote:
Hello,
I have an experiment that produces a lot of data each day.
I was wondering if anyone has seen(I'm not asking anyone to write
anything for me) code that will create a new folder every day and put
the data into it.
Thanks
Mike

what is your doubt?
you can generate a name by using DateTime.Today.ToString( "MMddyyyy")
and use it as a folder name.
All,
Thanks
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

13
7170
by: jenny | last post by:
Hi, I am trying to find a VB way that would create a folder on all existing drives - the folder name would be the same on each drive. ie c:\backup, d:\backup, etc. But the folders would only be...
7
2191
by: Tom | last post by:
Can anyone give me any advice on how to secure a folder on a network server so that documents in the folder can only be opened through an Access database or by the database admin. I need to store...
0
3300
by: John H. | last post by:
In effort to understand (Outlook) MAPI folder tree structure wrote simple linear code below to navigate tree. Successive "...Folders.GetNext()"'s return same folder at all levels of tree. What...
4
3108
by: Dave Veeneman | last post by:
I'm puzzling over the best design for a Folder object. I have two basic domain objects; leat's call them an Apple and an Orange. The objects are maintained in separate hierarchies, and each...
8
2036
by: vinesh | last post by:
I have sample Asp.Net Web Application project. Let me know how to keep the files related to this project (like the webform.aspx, WebForm1.aspx.vb, WebForm1.aspx.resx) in a separate folder within a...
9
8307
by: Paul | last post by:
I'm trying to make get my app to delete all the files in a specified folder and all the files within the folders of the specified folder. e.g. Folder 1 contains three files (File1, File2, File3)...
2
2576
by: tatemononai | last post by:
Ok, this is a very unique bug. I have only been able to find one other post related to this online, and everybody who responded misunderstood the problem. I am not trying to reference anything in...
17
3106
by: rdemyan via AccessMonster.com | last post by:
With A2003, I'm having trouble accessing files in a folder on another computer where back-end files, update files, etc are located. Here's the scenario: 1) Computer #1 - A2003 2) Computer #2 -...
24
7512
by: biganthony via AccessMonster.com | last post by:
Hi, I have the following code to select a folder and then delete it. I keep getting a Path/File error on the line that deletes the actual folder. The line before that line deletes the files in...
5
2878
by: Noozer | last post by:
I'm looking for a "smart folder" program to run on my Windows XP machine. I'm not having any luck finding it and think the logic behind the program is pretty simple, but I'm not sure how I'd...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5610
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4698
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1526
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
406
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.