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

    • Microsoft releases PowerToys v0.100.1, fixes a bug that made remapped keys misbehave by Ivan Jenic Microsoft just released PowerToys v0.100.1, a patch update that addresses several stability and behavior issues found in v0.100.0. The v0.100.0 patch was a significant update for PowerToys, as it introduced all sorts of new features and additions, such as a rebuilt Shortcut Guide, a Command Palette Extension Gallery, webcam overlay support in ZoomIt, and more. However, the v0.100.0 version also introduced some bugs and stability issues. And now, Microsoft is addressing these issues in the new patch. The most impactful fix in this release perhaps is in Keyboard Manager, where remapped modifier keys were being delivered as system-key events, causing unexpected behavior in apps. The clearest example of this was Alt-to-Backspace remaps, deleting whole words instead of a single character. So, if you thought there was an issue with your keyboard, Microsoft just confirmed that it was PowerToys. Beyond the Keyboard Manager fix, v0.100.1 also addresses several other issues. It fixes a bug with Power Display that was preventing monitors from waking from standby correctly. Additionally, the new update patches Quick Access crashes on launch, and resolves a Shortcut Guide crash that occurred when switching between sidebar sections. Here’s the full changelog: Color Picker Fixed a bug where the main Color Picker window could appear inside the zoomed-in picker view Command Palette Fixed Run history initialization in AOT builds Fixed a bug where the Performance Monitor dock item could show ??? after restart Fixed the Hibernate command using the Sleep icon Limited the "pin to dock" dialog to displays where the dock is enabled Keyboard Manager Fixed modifier keys remapped to non-modifier keys being delivered as system-key events, which caused unexpected behavior in apps such as Alt-to-Backspace deleting whole words Power Display Fixed a bug where selecting On in the monitor power-state control did not wake a monitor from standby Fixed built-in display detection and brightness control on dual-GPU laptops where the internal panel is driven by the discrete GPU PowerToys Run Fixed VS Code Workspaces discovery after VS Code moved recently opened workspace data to shared storage Quick Access Fixed Quick Access flyout crashes caused by unhandled XAML exceptions during launch or page navigation Shortcut Guide Fixed a crash when navigating between Shortcut Guide sidebar sections Fixed number-key rendering in shortcut manifests and added a Postman shortcut manifest Updated bundled shortcut manifests to use the literal number-key token so number keys render correctly across apps ZoomIt Fixed a race condition in audio initialization for ZoomIt video recording You can download PowerToys v0.100.1 from the official GitHub releases page.
    • OBS Studio 32.2.0 Beta 2 by Razvan Serea OBS Studio is software designed for capturing, compositing, encoding, recording, and streaming video content, efficiently. It is the re-write of the widely used Open Broadcaster Software, to allow even more features and multi-platform support. OBS Studio supports multiple sources, including media files, games, web pages, application windows, webcams, your desktop, microphone and more. OBS Studio Features: High performance real time video/audio capturing and mixing, with unlimited scenes you can switch between seamlessly via custom transitions. Live streaming to Twitch, YouTube, Periscope, Mixer, GoodGame, DailyMotion, Hitbox, VK and any other RTMP server Filters for video sources such as image masking, color correction, chroma/color keying, and more. x264, H.264 and AAC for your live streams and video recordings Intel Quick Sync Video (QSV) and NVIDIA NVENC support Intuitive audio mixer with per-source filters such as noise gate, noise suppression, and gain. Take full control with VST plugin support. GPU-based game capture for high performance game streaming Unlimited number of scenes and sources Number of different and customizable transitions for when you switch between scenes Hotkeys for almost any action such as start or stop your stream or recording, push-to-talk, fast mute of any audio source, show or hide any video source, switch between scenes,and much more Live preview of any changes on your scenes and sources using Studio Mode before pushing them to your stream where your viewers will see those changes DirectShow capture device support (webcams, capture cards, etc) Powerful and easy to use configuration options. Add new Sources, duplicate existing ones, and adjust their properties effortlessly. Streamlined Settings panel for quickly configuring your broadcasts and recordings. Switch between different profiles with ease. Light and dark themes available to fit your environment. …and many other features. For free. At all. OBS Studio 32.2.0 Beta 2 changelog: Beta 2 Changes Fixed a CI deployment issue. There are no application changes since Beta 1. 32.2 New Features Replaced add source dropdown with new dialog [Warchamp7] Improved FPS selector UX [jcm93] Added missing file support for filters [exeldro] Added ability for plugins to set custom icons for new source types [cg2121] Included .webp files when adding a directory to Image Slide Show source [TarunCore] Added copy paste functions to frontend API [exeldro] Added filter to compose SDR into HDR [jpark37] Added delete as a hotkey to delete sources on macOS [PatTheMav] Added dynamic bitrate support to multitrack video [lexano-ivs] 32.2 Changes Forced Intel-based installations to update to Apple Silicon version on macOS [PatTheMav] This change means that OBS Studio versions built for Intel-based Macs but running on Apple Silicon Macs will automatically update to OBS Studio built for Apple Silicon Macs. If an installation was using third-party plugins, those plugins will no longer load until replaced with Apple Silicon versions. Fixed audio mixer state getting out of sync when changing settings via websockets or plugins [Warchamp7] Added theming for checked QToolButtons [glikely] Improved OpenGL performance slightly on low-end machines [kkartaltepe] Set minimum size for color source to 1 pixel [exeldro] Added minimum width to spinboxes [Warchamp7] Disallowed overwriting the crash handler [sebastian-s-beckmann] Applied process mitigation policies for Windows [notr1ch] Adjusted description of multitrack video [jhnbwrs] Changed new capture devices to use fallback frame rate by default [PatTheMav] Improved DLL loading behavior on Windows [notr1ch] Limited multitrack video config to Custom service [PatTheMav] 32.2 Bug Fixes Fixed OAuth and dock state save corruption [PatTheMav] Fixed group bounds not resizing when removing items [howellrl] Fixed canvas mixes not being restored after video reset [dsaedtler] Fixed some erroneous crashes during shutdown [Warchamp7] Fixed display capture sometimes capturing black after a duplicator failure [ThrowTop] Fixed color of controls dock output buttons in System theme [shiina424] Fixed virtual camera reset failures [stephematician] Fixed potential crash when user discards changes in the settings window [suogesi] Fixed incorrect return value in virtualcam filter [xtfo] Fixed source toolbar buttons not working after dragging a source into a group [Warchamp7] Fixed properties hint icon spacing [Warchamp7] Fixed potential crash when a video device reconnects on macOS [jcm93] Fixed an issue where PipeWire could fail on NVIDIA GPUs [hoshinolina] Fixed obs_canvas_get_video_info returning incorrect framerate [dsaedtler] 32.2 Deprecations Deprecated obs_properties_add_button [sebastian-s-beckmann] Download: OBS Studio 32.2.0 Beta 2 | Portable | ARM64 | ~200.0 MB (Open Source) View: OBS Studio Homepage | Other Operating Systems | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Is a fast food restaurant a good metric to compare against?
    • Grand Theft Auto VI pricing revealed alongside Ultimate Edition and pre-loading details by Pulasthi Ariyasinghe Last week, Rockstar revealed Grand Theft Auto VI pre-orders will be starting soon, and just a day ahead of that, now the studio has announced the official pricing for the highly anticipated game. This has been a hotly debated topic among fans and industry veterans for a long time, considering the game is expected to be the biggest entertainment product launch ever. The confirmed pricing for the Grand Theft Auto VI standard edition is $79.99, which Rockstar says gives access to the "single-player experience set in the biggest, most immersive evolution of the series yet." This follows what most of our readers thought would happen with the pricing too. At the same time, a $99.99 Grand Theft Auto VI: Ultimate Edition has been confirmed as well, which lands with "an exclusive collection of premium vehicles, weapons, apparel, and action threaded across all aspects of Jason and Lucia’s story." Pre-ordering will also give fans extra bonuses, including a Vintage Vice City Pack of cosmetic items as well as a free month of GTA+. Head to the official website of the game here to check out all the cosmetic rewards the Ultimate Edition and pre-orders bring. Interestingly, the studio does not mention Grand Theft Auto VI multiplayer at all in today's announcement. Perhaps this will arrive later, following the campaign launch, or the studio is keeping that reveal for a later date. Digital pre-orders for Grand Theft Auto VI will begin on June 25, 2026, at midnight local time across regions for Xbox Series X|S and PlayStation 5. The title is slated to launch on November 19 on those same platforms. Pre-loading for Grand Theft Auto VI will kick off on November 12, giving players a week to get the game ready on their consoles. As for the physical edition, Take-Two has confirmed that this will be available without a disc, with the box only containing a download code inside. This will be purchasable starting November 12, giving players who take this route time to pre-load the title as well.
  • Recent Achievements

    • One Year In
      OHI Accounting earned a badge
      One Year In
    • First Post
      Almohandis earned a badge
      First Post
    • Rookie
      DaviKar went up a rank
      Rookie
    • Dedicated
      HidekoYamamoto94 earned a badge
      Dedicated
    • One Month Later
      timbobit earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      474
    2. 2
      +Edouard
      172
    3. 3
      PsYcHoKiLLa
      122
    4. 4
      Michael Scrip
      83
    5. 5
      Xenon
      72
  • Tell a friend

    Love Neowin? Tell a friend!