Re: Group files based on Timestamp
urir10 My main question is not really how to parse the file name but how would i group them together. Lets say even the file name is only YYYYMMDD.txt nothing else. Basically i have a method that zips...
View ArticleRe: Group files based on Timestamp
See the link in my previous thread. It's a one-liner!
View ArticleRe: Group files based on Timestamp
Sorry, the file name would be something like this : abcdefg_YYYYMMDD.txtMy main question is not really how to parse the file name but how would i group them together. Lets say even the file name is...
View ArticleRe: Group files based on Timestamp
Hi,Try below sample:string timestamp = DateTime.Now.ToString("MMddyyyy.HHmmss"); string filePath = @"C:\New\"+timestamp; if (!Directory.Exists(filepath)) Directory.CreateDirectory(filepath);
View ArticleRe: Group files based on Timestamp
urir10 Any simple way of doing this?No idea, you did not provide the file naming convention. Can you use the actual file timestamp? that would be much easier.Here's an example...
View ArticleGroup files based on Timestamp
Hi All, I have a task of creating a function that will zip all files in a folder based on their timestamp in the file name. I have the function to zip the files already but i need an easy way of...
View Article