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

    • Fresh CachyOS install with Niri - I guess it's a little orange, but I'm working on it
    • FastStone Image Viewer 8.5 by Razvan Serea FastStone Image Viewer is a fast, stable, user-friendly image browser, converter and editor. It has a nice array of features that include image viewing, management, comparison, red-eye removal, emailing, resizing, cropping, retouching and color adjustments. Its innovative but intuitive full-screen mode provides quick access to EXIF information, thumbnail browser and major functionalities via hidden toolbars that pop up when your mouse touches the four edges of the screen. Other features include a high quality magnifier and a musical slideshow with 150+ transitional effects, as well as lossless JPEG transitions, drop shadow effects, image annotation, scanner support, histogram and much more. It supports all major graphic formats (BMP, JPEG, JPEG 2000, animated GIF, PNG, PCX, PSD, EPS, TIFF, WMF, ICO and TGA) and popular digital camera RAW formats (CRW, CR2, NEF, PEF, RAF, MRW, ORF, SRF, ARW, SR2, RW2 and DNG). FastStone Image Viewer features: Image browser and viewer with a familiar Windows Explorer-like user interface Support for many popular image formats and PDF viewing True Full Screen viewer with convenient image zoom support and unique fly-out menu panels Crystal-clear and customizable one-click image magnifier Powerful image editing tools: Resize/resample, rotate/flip, crop, sharpen/blur, adjust lighting/colors/curves/levels etc. Eleven re-sampling algorithms to choose from when resizing images Image color effects: gray scale, sepia, negative, Red/Green/Blue adjustment Image special effects: drop shadow, framing, bump map, sketch, oil painting, lens Draw texts, lines, highlights, rectangles, ovals and callout objects on images Clone Stamp and Healing Brush Superior red-eye effect removal/reduction with completely natural looking end result Multi-level Undo/Redo capability Single click to switch between best fit and actual size mode Image management, including file tagging, rating and drag-and-drop to copy/move/re-arrange files Histogram display with color counter feature Compare images side-by-side (up to 4 at a time) to easily cull those forgettable shots Image EXIF metadata support (plus comment editing for JPEGs) Configurable batch processing to convert/rename large or small collections of images Slideshow with 150+ transition effects and music support (MP3, WMA, WAV...) Create efficient image attachments for emailing to family and friends Print images with full page-layout control Create fully configurable contact sheets Create memorable artistic image montages from your family photos for personalized desktop wallpapers (Wallpaper Anywhere) Acquire images from scanners. Support batch scanning to PDF, TIFF, JPEG and PNG Versatile screen capture capability Powerful Save As interface to compare image quality and control generated file size Run favorite external editors with one keystroke from within Image Viewer Offer portable version of the program which can be run from a removable storage device Configurable mouse wheel support Support themes (bright, gray and dark) Support dual-monitor configurations Support touch interface (tap, swipe, pinch) Support dual instances Play video and audio files (Third party codecs may be required for old versions of Windows) And much more... FastStone Image Viewer 8.5 changelog: Added support for SVG format Added Start importing automatically and Handle duplicate file names automatically options to the Import Photos and Videos tool WebP files can now be rotated and saved with a single click Enhanced dark theme support in the PDF viewer Fixed a bug where some links in PDF files were not clickable Other improvements and bug fixes Download: FastStone Image Viewer 8.5 | Portable | ~15.0 MB (Freeware) View: FastStone Image Viewer Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Yup, broke my comp… again. its times like this when I regret AMD. This just never happens on NV.
    • Huh? You're delusional calling the Steam Deck dead. It is so successful that it has sold out multiple times. Even after the price hike this year it sold out again with 24 hours of being back in stock. The demand is real and has not died down even after four years.
  • Recent Achievements

    • Rookie
      DaviKar went up a rank
      Rookie
    • Dedicated
      HidekoYamamoto94 earned a badge
      Dedicated
    • 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
  • Popular Contributors

    1. 1
      +primortal
      460
    2. 2
      +Edouard
      160
    3. 3
      PsYcHoKiLLa
      110
    4. 4
      Michael Scrip
      85
    5. 5
      Steven P.
      69
  • Tell a friend

    Love Neowin? Tell a friend!