• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Recent content by Charles Dye

  1. Charles Dye

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

    Better yet, just don't use /A at all!
  2. Charles Dye

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

    Omit the /A. It's only there for DOS compatibility. And the DOS functionality was only there for CP/M compatibility.
  3. Charles Dye

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

    If you mean Take Command's file explorer pane, check out CDD /T and CDD /TO in the help file.
  4. Charles Dye

    Disk name

    Big-endian ASCII versus little-endian ASCII? :woot: There ought to be a way to get this info via DeviceIoControl().
  5. Charles Dye

    Disk name

    Incidentally, this behavior (NULs between spaces) is what you see when you try to read a UTF-16 text file as if it were 8-bit text.
  6. Charles Dye

    Support an "up" command to go to parent directory and "up3" to go up 3 directories, etc.

    The CD is optional too; you can use .. to change to the parent directory, ... for the grandparent, and so on. And since version 21, you don't even need a command; Ctrl-Shift-Up will pop you up one level.
  7. Charles Dye

    UNZIPping older .ZIP files

    I'm not certain, but there may be legal issues. I think PKZIP used some proprietary compression algorithms. It's possible that one or more may still be proprietary.
  8. Charles Dye

    Using a Directory Alias with @iniwrite fails

    Why would you pass a fully-qualified filename to a path-search function?
  9. Charles Dye

    Using a Directory Alias with @iniwrite fails

    Because GOSUB can do a path search for the file?
  10. Charles Dye

    MOUNTISO: Add support for VHD / VHDX files

    Neat; you could wrap that in a batch file. I've been using the Disk Management console, as I don't need to mount VHDs very often.
  11. Charles Dye

    Using a Directory Alias with @iniwrite fails

    That I don't know. But I'm pretty sure that GOSUB %@TRUENAME[alias:fname.exe] should work.
  12. Charles Dye

    MOUNTISO: Add support for VHD / VHDX files

    Oh. I had assumed that you were using OpenVirtualDisk() and AttachVirtualDisk(). Is there some other way?
  13. Charles Dye

    MOUNTISO: Add support for VHD / VHDX files

    Also I'd suggest: (1) a /RW option to mount VHDs in read/write mode (ignore for .ISOs), and (2) allow more than one mount point to be specified (again, useful only for VHD files.)
  14. Charles Dye

    Touch command is off by 1 hour

    To clarify — if you don't understand it already — TOUCH is fine; it's DIR that's wrong. January 1st we were on Standard Time time; now we're on Daylight Savings Time. DIR's display of timestamps is off by an hour, one way or the other, when you cross DST changes like that. It would be...
  15. Charles Dye

    REGDIR not showing time for top level key

    Speaking of which, the times reported by REGDIR /T often look wrong to me: C:\>ver /r TCC 22.00.41 x64 Windows 10 [Version 10.0.10240] TCC Build 41 Windows 10 Build 10240 Registered to VADER C:\>regdir /t /s1 "hkcu\software\jp software" hkcu\software\jp software 2018-04-18 19:00 Take...
Top Bottom