Recommended Posts

Hey Guyz,

I have made a little utility. When I was in search for a utility to change a file's Accessed, Created and Modified dates in Windows, I couldn't find something I was looking for and given that I like to code, I decided to make one myself.

This utility basically allows you to change a given file or directory's accessed, created, modified dates based on your selection.

http://www.codelake.com/windowstouch.html

What do you think?

I have posted here before to get some feedback and it was great so much appreciated if someone can spare few minutes to test this utility too.

https://www.neowin.net/forum/index.php?showtopic=639009

Cheers :)

the name sounds like it's a program to do something with touch interface...

There was a utility in linux called "Touch" so the name is based upon that.

does this change them indefinately, or as soon as you modify them again it goes back to the current date?

No it will change them when you perform the touch operation. Once you modify the file again it will have new dates. This is controlled by Windows, I am just trying to provide a way to change that if needed.

I will add command line features when I have some more time and then off to do shell integration.

31% CPU usage and 56 megs of RAM to modify the dates and times of 5,000 files? Maybe you should learn pure Win32 API for such utilities.

EDIT:

The program also freezes when selecting all the Date checkboxes and processing a folder structure with 10,000+ files.

Edited by iamwhoiam

Thanks, this is the kind of feedback I am looking for.

I am using standard windows calls which are APIs behind the scene anyways. I did come across a thread somewhere which mentioned a work around to make it quicker! I need to find that now.

How about a word from usability point of view? Is it simple enough to use?

Cheers, much appreciated.

Thanks, this is the kind of feedback I am looking for.

No problem.

I am using standard windows calls which are APIs behind the scene anyways. I did come across a thread somewhere which mentioned a work around to make it quicker! I need to find that now.

Passing structures and pointers also provide slower access in NET languages.

How about a word from usability point of view? Is it simple enough to use?

Not a bad program. Maybe get rid of the menu and the toolbar and have buttons for undoing and applying the changes elsewhere on the form. Another usability option would a shell extension that allowed a group of files to be selected from explorer and processed with a right-click menu option.

The speed and memory usage for such a simple program really does need to be worked on. Have you tried to impliment a worker thread for the processing?

Passing structures and pointers also provide slower access in NET languages.

I don't think I am passing any structures or pointers anywhere.

Not a bad program. Maybe get rid of the menu and the toolbar and have buttons for undoing and applying the changes elsewhere on the form. Another usability option would a shell extension that allowed a group of files to be selected from explorer and processed with a right-click menu option.

The speed and memory usage for such a simple program really does need to be worked on. Have you tried to impliment a worker thread for the processing?

Ok I can get rid of the toolbar and menu, honestly I was making that a general view theme among all my apps. Basically using visual inheritance for getting the base form working. Now that I notice it does use 15MB of RAM when just sitting idle. Never actually noticed that, thought it was all taken care of .NET Framework. However I am able to keep the program size to resonably small.

Change the name, please consider this as serious feedback

What would you suggest?

Thanks. I will see if I can make the user interface a little more clean and make it performing better.

iamwhoiam mentioned about an undo operation. That is kinda hard, I mean I can do it by remembering each and every change I make but then things start to get piled up real quick in terms of memory usage. Imagine doing this for 10000 files and then remembering each file's dates!

Uhm.. not to ruin your fun, but:

1. I've already posted a file properties editor here

2. The name is... misleading

3. This is pretty much pointless anyway

Also:

It uses a lot of memory while idle simply because of the .Net framework, that has nothing to do with your app. It's pretty much a minor, but unavoidable problem unless you move up to a lower level language.

That is ok with me mate. I actually made the first version of this app a long time ago while helping my brother submitting his assignments past due dates. Since then I decided to keep it and keep changing it a little here and there.

Yes I know the .NET Framework has it's overheads but at the moment it is the choice of my programming language.

The name is not misleading even though few here seems to think so, since the original name came from Unix/Linux the Windows variants have kept the name similar.

http://www.codeproject.com/KB/applications/touch_win.aspx

http://www.softpedia.com/get/System/File-M...r-Windows.shtml

http://www.pcadvisor.co.uk/downloads/index...amp;itemID=5058

http://www.pcadvisor.co.uk/downloads/index...amp;itemID=5058

And besides I code to learn something new so not giving up.

Thanks. I will see if I can make the user interface a little more clean and make it performing better.

iamwhoiam mentioned about an undo operation. That is kinda hard, I mean I can do it by remembering each and every change I make but then things start to get piled up real quick in terms of memory usage. Imagine doing this for 10000 files and then remembering each file's dates!

Not an undo option to revert files back to their original dates and/or times. More like you set set some settings but don't want to manually undo them so you click revert changes or something similar just to clear all the options on the form.

I hope that touch code I sent you can help. In plain C with FindFirstFile/FindNextFile and that routine in a loop, it's reasonably fast.

Oh ok.. I already have Clear button which clears the changes to the form if that is what you meant?

Yeah I am looking at your code with a face that I can't explain. Thanks though :) I have found a recursive code to get the file list faster so need to implement that. Shall see how that goes. I need to stop time to get everything finished.

  • 2 weeks later...
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Liene PixCut S1 Starter Kit gets a whopping 31% discount on Prime Day by Steven Parker Liene reached out to us to share another Prime Day exclusive deal that starts today on Amazon. It gives buyers a massive 31% off on the cost of this color sticker printer and cutting machine. It's basically an all-in-one sticker maker for DIY crafts, custom labels and gifts. It utilizes thermal dye-sublimation at 300 dpi, and offers precise "AI" auto-cutting. Here are some more of its highlights: All-in-One Convenience - Print and Cut in One Step. Say goodbye to the hassle of using separate machines. The PixCut S1 seamlessly integrates high-resolution photo printing and precise die cutting into one streamlined device. With just a few clicks on the user-friendly app, you can edit, print, and cut directly from your smartphone via Bluetooth. Create stickers in just 2 minutes! This all-in-one solution saves you time and effort, making your creative projects more enjoyable and efficient. AI Image Extraction & Precision Cutting - Unleash your creativity with the AI image extraction feature that automatically recognizes and extracts subjects from your photos. Then watch as the high-precision cutting system, guided by the same AI technology, perfectly follows every edge with pinpoint accuracy. This seamless AI-to-cut workflow ensures flawless results every time. Turn any moment into custom stickers with professional edges in minutes - just masterpieces made simple. High-Resolution Prints - Vivid and True-to-Life Colors. Utilizing thermal dye-sublimation technology, the PixCut S1 delivers stunning 300 dpi high-resolution prints with 16.7 million colors. Whether you're printing photos, stickers, or labels, you can expect vibrant, true-to-life color effects that make your creations stand out. Every detail is captured with precision, providing professional-quality results every time. AI Lab - Bring Your Imagination to Life. Upload a photo, pick a style from the Liene Photo App, and watch AI bring your vision to life instantly. Turn selfies into an anime character, a fantasy hero, or a festive holiday illustration — all with stunning realism. One style, endless versions of you. Print your AI art as custom stickers, unique gifts, or social media posts — perfect for avatars and DIY projects. No design experience required. Your creativity is just one click away from magic. Durable Stickers - Create Long-Lasting Creations .Thanks to the four-layer thermal dye-sublimation technology, the photopaper is automatically laminated during printing. Stickers produced by PixCut S1 are durable, waterproof and scratch-resistant, ensuring they remain vibrant and intactover time. Perfect for creating custom stickers, labels, and more that last. No Subscription. Just Pure Creativity. With the Liene app, available on mobile, tablet, and desktop. Unlock 40,000+ free images, fonts & elements (and growing), plus 2000+ ready-to-use templates for phone skins, lens stickers, ID cards, labels, name tags, journaling, and more. No paywalls, no hidden fees, just pure creativity. Turn any idea into a custom creation in minutes. Your imagination has no limits, neither should your software. This deal is for the Starter Kit, so what do you get? What's in the box PixCut S1 Photo Sticker Printer and Cutter x 1 Photo Sticker Cutter Ink Cartridge x 1 (36 sheets) Photo Paper 4"x6" (18 sheets) Sticker Paper 4"x7" (White) x 18 sheets Blade x 1 (Pre-installed) So in short everything you need to get printing and cutting. The Liene PixCut S1 has a 4.3 star rating after more than 1,000 reviews from customers, but we can't promise the landing page always sold this particular model, so do check out the reviews before purchasing. In any case Prime members are covered with a 30 day return or replacement should things not work out so great. Liene Pixcut S1 for $205.99 (was $299.99) 31% off Use code 15PIXCUT6 during checkout Although this is a Prime Day discount, the above code will stay live until June 30. Good to know This Amazon deal is U.S. specific, and not available in other regions unless specified. We only use first-party seller links (at the time of article publishing); ensure that you purchase from a first-party seller link only. Check out Today's Deals on Amazon | or our recent tech deals. Become a Prime member (for Students or SNAP) via Neowin Get Prime Access - Prime for half price (for qualifying Medicaid, EBT, SNAP) Subscribe to Prime Video, Audible Plus, Music Unlimited or Kindle Unlimited via Neowin As an Amazon Associate, we earn from qualifying purchases.
    • https://www.tenforums.com/tuto...b-results-windows-10-a.html Check the comment dates. Some of them are as old as 2016.
    • I wonder how many are laid off for cost savings, and this being blamed on AI to make it sound less scary and bad, for a more positive "modern, with the times" spin for investors? Because Oracle is down 14% the past year. We're looking at a company struggling here. If AI would actually be working out so well for them that they can do massive layoffs, surely this would've been reflected the past year in their stock value?
    • AI is the beginning, wait until real robots replace more jobs, specifically jobs that require physical work.
    • AI is indeed eliminating jobs, and Oracle just proved it by Hamid Ganji There’s no question that AI has become the hottest trend in workplaces, and every company is trying to adopt AI-driven solutions across its operations. While some industry leaders repeatedly say AI won’t lead to massive layoffs, recent data suggest that AI is actually one of the main reasons some companies are reducing their workforce. According to Oracle’s annual regulatory filing, the company has laid off about 21,000 employees, or 13% of its workforce, amid increasing AI adoption. “The adoption and deployment of AI technologies across our operations have resulted, and may continue to result, in reductions to our workforce,” Oracle said in the filing. The software giant now has approximately 141,000 full-time employees, a notable decrease from 162,000 during the same period last year. Restructuring expenses, including severance payments, cost Oracle $1.84 billion in fiscal 2026. Additionally, around 49,000 Oracle employees were based in the U.S., while approximately 92,000 were employed internationally. Like many other companies, Oracle has fully embraced AI and concentrated much of its efforts on the technology. The company is also a key participant in the United States’ $500 billion Stargate Project, which aims to build multiple AI data centers across the country. When it comes to AI adoption and its impact on the workforce, opinions remain divided. NVIDIA CEO Jensen Huang, whose company has been one of the biggest beneficiaries of the AI boom, recently said in an interview that attributing job cuts to AI is a “lazy” narrative. “The narrative that connects AI to job loss, for many of the CEOs that are doing it – it is just too lazy. AI has just arrived, how is it possible they're already losing jobs?” Huang said. However, statistics and recent reports tell a different story. According to Layoffs.fyi, 196 tech companies have laid off about 119,800 employees so far this year. Reducing staff and replacing roles with AI agents could become one of the most significant trends in the job market in the years ahead.
  • Recent Achievements

    • One Month Later
      timbobit earned a badge
      One Month Later
    • One Month Later
      nates earned a badge
      One Month Later
    • Week One Done
      Almohandis earned a badge
      Week One Done
    • Rookie
      dorf went up a rank
      Rookie
    • First Post
      mike_rumble earned a badge
      First Post
  • Popular Contributors

    1. 1
      +primortal
      464
    2. 2
      +Edouard
      177
    3. 3
      PsYcHoKiLLa
      97
    4. 4
      Michael Scrip
      89
    5. 5
      neufuse
      70
  • Tell a friend

    Love Neowin? Tell a friend!