Recent content by Charles Dye

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

    Symlinks, absolute vs. relative

    C:\>ver /r TCC 22.00.38 Windows 7 [Version 6.1.7601] TCC Build 38 Windows 7 Build 7601 Service Pack 1 Registered to COE-DDPTMHQ1 C:\>dir c:\Test\ Volume in drive C is Hard Drive Serial number is 6218:b594 Directory of C:\Test\* 2/22/2018 8:39 <DIR> . 2/22/2018...
  2. Charles Dye

    French accents using msgbox

    I don't understand this distinction. TCC uses all UTF-16 internally, right?
  3. Charles Dye

    French accents using msgbox

    It certainly wouldn't hurt. You don't mention which version of TCC you're using, but most versions use your system's OEM code page, whereas your text editor probably uses the system's Windows ("ANSI") code page.
  4. Charles Dye

    ANSI is used to show files instead of OEM in version 17 to 19 !

    Upgrading to the current version will fix a number of other issues as well. Not to mention encouraging Rex to continue support and updates. But if you really want to type 8-bit files in the affected versions, my own UTYPE has an /I: option to specify the code page to use. UTYPE also defaults...
  5. Charles Dye

    ANSI is used to show files instead of OEM in version 17 to 19 !

    It reports the OEM code page. Which is usually, but not always, different from the Windows ("ANSI") code page. I vaguely remember the issue gumn describes. TYPE originally treated 8-bit text files like CMD's TYPE. Then, for several versions, it instead interpreted them as Notepad does. And...
  6. Charles Dye

    Vertical scroll bar disappeared with SCREEN

    That sounds like a reasonable assumption to me. Suggest you open up the console properties (Alt-space, P) and check that the screen buffer height is larger than the window height.
  7. Charles Dye

    Vertical scroll bar disappeared with SCREEN

    Is this in a Take Command tab, or in a standalone console window?
  8. Charles Dye

    where was bat file called from?

    Your alias uses CALL. Which is an alias, which uses CALL. Which is an alias, which uses CALL, which is an alias.... You can prevent the problem like this: alias call='set caller=%_batchname %+ *call' The asterisk disables alias expansion for that one command.
  9. Charles Dye

    where was bat file called from?

    I'm trying to figure out how to implement this as a plugin. You could intercept CALL easily enough, and push the current batch name onto a stack. But how to know when to pop it off again? Intercept QUIT and CANCEL too -- but TCC can also return from a CALLed batch simply by running off the...
  10. Charles Dye

    where was bat file called from?

    Stash it in an environment variable before you call the second batch file? set caller=%_batchname call c:\path\to\mysub.btm
  11. Charles Dye

    where was bat file called from?

    %_BATCHNAME gives the full name of the current batch file. But I don't think there is any way to read the CALL stack.
  12. Charles Dye

    Modified time not the same as EXPLORER in TCC

    This is for compatibility with CMD.EXE, which also does it wrong.
  13. Charles Dye

    TCC v22 & the Windows 10 Console

    ECHO %_ININAME should give the filename of the .INI file which TCC is using. Or open the OPTION dialog, and look at the title bar.
  14. Charles Dye

    DIFFER questions....

    I don't understand what "the intended purpose of the suggested function" is; another implementation of @TRUENAME? But the help text seems to imply that @PATH has something to do with the filesystem. I'm pretty sure that it doesn't. @PATH is just a string-parsing function: strip out any...
  15. Charles Dye

    FIXNames

    Theoretically, quotes are replaced with apostrophes. I don't know whether this has ever been tested, though. It shouldn't be possible to create a filename containing quotes -- they are illegal. Do you actually have filenames containing quotes?