Button to change file timestamp to current (touch a file)
Moderators: Hacker, petermad, Stefan2, white
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Button to change file timestamp to current (touch a file)
Can I achive this? I want to have a button to change the date/time of a file to current (touch the file), as if I edited and saved it.
[mod]The discussion about hanging network drives has been split to a new thread: http://ghisler.ch/board/viewtopic.php?t=9293[/mod]
[mod]The discussion about hanging network drives has been split to a new thread: http://ghisler.ch/board/viewtopic.php?t=9293[/mod]
I switched to Linux, bye and thanks for all the fish!
None command yet---
2SanskritFritz
Hello!
• I see none command like you wish in totalcmd.inc.
It should be useful to have such one. Though I use the option "Newest file date..." in archives, sometimes the "newest" date isn't significant, especially to update a remote folder on a FTP server.
• So, if your topic becomes a request, I support it.
Kind regards,
Claude
Clo

• I see none command like you wish in totalcmd.inc.

• So, if your topic becomes a request, I support it.

Claude
Clo
#31505 Traducteur Français de T•C French translator Aide en Français Tutoriels Français English Tutorials
I wrote a plugin for SpeedCommander for this purpose. You can download it from http://www.sp-download.de/plugins/SetToday.sqx.
If you can make TC pass the selected file(s) to it, it should work with TC too. Please mind that the plugin is SQX compressed.
If you can make TC pass the selected file(s) to it, it should work with TC too. Please mind that the plugin is SQX compressed.
Sven wrote:I wrote a plugin for SpeedCommander for this purpose. You can download it from http://www.sp-download.de/plugins/SetToday.sqx.
If you can make TC pass the selected file(s) to it, it should work with TC too. Please mind that the plugin is SQX compressed.


I don't know SpeedCommander well, but I like it too, above all the terrific viewer/media player supporting almost any file type (incl. Word and Excel files), the flexible detail list with an optional tree, the Wipe function and the Compress/Extract supporting many formats including your own published SQX format.
Sometimes I thought Total Commander and SpeedCommader should be merged into the ultimate SuperCommander, although it seemed impossible. But now ... Is there already a certain cooperation between you and Mr. Ghisler?
Oh, that's a pitty!Sven wrote:There is no special cooperation between Christian and me ....

I would really love to see your great file viewer/player in TC. What about offering it as TC add-on, of course with a fair price (perhaps even bound to SpeedCommander license)?
As far as I remember the viewer of SpeedCommander is already available as separate program. So maybe it's not too much work to adjust it to the TC Lister-Plugin interface. What do you think?
Yes, it is possible, I just wrote a listview plugin. However, it is impossible to provide only one DLL as the SC viewer relies on a couple of other SC modules. So it would be the best to install SC and have the TC viewer make use of the plugin.
Anyway, I ask myself if it really makes sense to offer such module. I cannot give it away for free since (as said above) the viewer relies on a couple of other modules. On the other hand there are a couple of free viewer plugins for TC available.
Anyway, I ask myself if it really makes sense to offer such module. I cannot give it away for free since (as said above) the viewer relies on a couple of other modules. On the other hand there are a couple of free viewer plugins for TC available.
In my opinion it makes sense to offer a SC viewer plugin for TC that requires a registered installation of SC because:
EDIT:
But why not selling SpeedView.exe, SpeedView.wlx and all necessary DLLs as separate product that is cheaper than SpeedCommander? (Currently SpeedCommander.exe and SpeedView.exe are bundled with shared DLLs.)
- Currently the SC viewer seems much better than the free viewer plugins for TC (I tried SC V10.0Beta4).
- The SC viewer is also better than Quick View Plus 7 which costs $35 and cannot be integrated into TC.
- For a TC user it may feel a bit strange to install SC in parallel at first, but it's surely more strange to run SC in parallel only for viewing some files.
EDIT:
But why not selling SpeedView.exe, SpeedView.wlx and all necessary DLLs as separate product that is cheaper than SpeedCommander? (Currently SpeedCommander.exe and SpeedView.exe are bundled with shared DLLs.)
Better:SanskritFritz wrote:while (!asleep()) sheep++;
Code: Select all
while (!asleep()) ++sheep;
Don't waste precious resources!

- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
- SanskritFritz
- Power Member
- Posts: 3693
- Joined: 2003-07-24, 09:25 UTC
- Location: Budapest, Hungary
Yes it does what I am looking for, but I wanted to avoid external program launching. Thanks for the prog (i did not try it actually, because I already wrote one for myself, but you are very kind to help in a community of a concurrent product. A very rare attitude today, God bless you.@SanskritFritz: Did you try SetToday? Was that the one you are looking for?
I switched to Linux, bye and thanks for all the fish!
Sven,
Thanks
Roman
OK, thank you anyways. Maybe Christian finds out something new.You will not believe me, but I can't duplicate this behaviour. As said before there is nothing special, SC uses only a background thread. However, it might be related to the development environment.
Thanks
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
Have you considered moving from Delphi 2 to higher versions?

And I also think Christian is using as few internal Delphi functions as possible, doing almost everything through the WinAPI, so Delphi shouldn't be to blame in this case. IMHO.
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.