Recent content by vefatica

  1. V

    Tcmd 22.00.42 - annoying desktop refresh

    Since I haven't seen the behavior or heard a complaint in well over a year, I figured others found settings to avoid it. ... yes/no?
  2. V

    Tcmd 22.00.42 - annoying desktop refresh

    Do you also have ShowSuperHidden=Yes in the [TakeCommand] section of TCMD.INI? The last I knew, you can't get it there from the OPTION dialog, and if it's not there, it defaults to "No".
  3. V

    Tcmd 22.00.42 - annoying desktop refresh

    It is a big problem if you just plain don't like it. But as fas as I know the reasons for it and how to avoid it were hashed out in the thread frim Oct-Nov 2016. Until now, no one has complained since then. Since then, I haven't seen the desktop refresh. If I recall correctly, it will...
  4. V

    How to? copy /q ABC.txt + DEF.txt is appending hex 1A

    I may be remembering incorrectly, but I thought the EOF marker was automatic when you concatenate (with '+', even without /A) and that the /B was the way to prevent it. That's specifically mentioned in the help for COPY /B.
  5. V

    Context menu extensions for TCC/TCMD v18?

    You should have these three BTMs. v:\> dir /k /m g:\tc18\*here.btm 2013-04-03 09:10 1,170 tcchere.btm 2013-01-09 13:07 1,273 tcctabhere.btm 2013-04-03 09:11 1,204 tcmdhere.btm Read them and see if they do what you want.
  6. V

    Goto folder in file explorer from the current directory in the tcc prompt

    Doesn't that start another instance of explorer.exe? And doesn't that instance hang around for about a minute after you close the window?
  7. V

    Test error code in ON ERROR routine

    It would be nice if _SYSERR or some similar internal variable were available in an ON ERROR routine so that errors could be selectively ignored or processed.
  8. V

    Ability to ignore specified error messages?

    Can it (or a similar internal variable) be set earlier so that it can be tested in an ON ERROR routine?
  9. V

    Disk name

    Here, it looks good for a WD (elevated or not). v:\> echo %@wmi[root\cimv2,"SELECT SerialNumber FROM Win32_PhysicalMedia where tag = '\\\\.\\PHYSICALDRIVE2'"] WD-WXE508CJ3523 v:\> echo %@wmi[root\cimv2,"select serialnumber from win32_diskdrive where index = 2"] WD-WXE508CJ3523 v:\> wmic...
  10. V

    Disk name

    I googled some, and found this to be a small nightmare. The serial number is a string, but the manufacturer is free to "encode" the string as he sees fit. And apparently, since there are no rules, Windows can only guess what to do with the string it finds. I can get the same hex-coded (?)...
  11. V

    Disk name

    OK, now @WMI and WMIQUERY are working unelevated. And, come to think of it, my outout isn't all that ugly. Al least it doesn't look like Unicode, but it does have all thgose leading "20"s. If I treat the output of WMIC, WMIQUERY, and @WMI as hex and disregard the initial "20"s, it looks...
  12. V

    Disk name

    Hmmm! Both WMIQUERY and @WMI work when elevated. v:\> wmic diskdrive 0 get serialnumber SerialNumber 2020202020202020202020205239345752375641 v:\> wmiquery root\cimv2 "select serialnumber from win32_diskdrive where index = 0" 2020202020202020202020205239345752375641 v:\> echo...
  13. V

    Touch command is off by 1 hour

    Explorer IS the smart one, applying the timezone offset (TZO) at the time of the file's timestamp. CMD and TCC always apply the current TZO, regardless of the file's date. As I said before, "touch /d1-1-2018 /t1:01 filename" adds the current (daylight) offset to get UTC. That's not correct...
  14. V

    Touch command is off by 1 hour

    Leave that file alone until Standard Time is in effect again. Then DIR will get it wrong.
  15. V

    Touch command is off by 1 hour

    That's because TOUCH set it wrong in the first place. And DIR and @FILETIME make the complementary mistake. They all add/subtract the CURRENT Standard/Daylight offset when converting local time to/from FILETIMES (which are UTC) ... regardless of what was in effect at the date/time in...