Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Recent content by TCFan

  1. T

    Date format date different from cmd

    Hi, On one of my Take Command instances, the date /t command returns dd/mm/yyyy, while cmd returns mm/dd/yyyy. On another instance, tcc returns the same as dos, mm/dd/yyyy. How can I coax tcc to inherit the dos format, mm/dd/yyyy?
  2. T

    Is there a way to maintain the position in the environment list, while debugging?

    Possibly, but I'm not having a problem with the current code, Charles. My question is about maintaining the view of the list of variables. And it looks like the answer is No, there's no way to maintain it. A workaround is to rename the variables that are important, so they always show up at...
  3. T

    Is there a way to maintain the position in the environment list, while debugging?

    I believe the writer did it for this reason, that the variables on the same line as the ENDLOCAL, can inherit the values of the Local variables (which would ordinarily be cleared), into the parent scope. From Windows NT Shell Scripting, by Tim Hill: *** This trick of assigning a variable with...
  4. T

    Is there a way to maintain the position in the environment list, while debugging?

    The batch file itself, is no longer relevant, since it iseems to be working now. The problem is the list of environmental variables, in the ide. I just want to retain the position, after each step through the code. But the IDE keeps scrolling the variable list back to the top. No luck, on...
  5. T

    Is there a way to maintain the position in the environment list, while debugging?

    It still won't attach. I don't know what's going on. I did resolve most of the main problem, that the final variables were blank. The last lines were :s_end_days ENDLOCAL&SET /a _yy_int=%v_yy_int%&SET /a _mm_int=%v_mm_int%&SET /a _dd_int=%v_dd_int%&SET _ymd_str=%v_ymd_str%&SET...
  6. T

    Is there a way to maintain the position in the environment list, while debugging?

    I tried attaching it several times, but it doesn't seem to take. I'll try renaming the .bat to a .btm, and see if that works.
  7. T

    Is there a way to maintain the position in the environment list, while debugging?

    Hi, I'm trying to tweak the attached batch file, to work inside the IDE. It works fine, on an ordinary command line outside the IDE. But the inconvenience I'm experiencing, is that the list of environmental variables keeps scrolling up. Most of the variables I'm trying to observe - like...
  8. T

    Thanks for the assistance with IDE vs Bdebugger

    Yep, I see it, thanks Tea.
  9. T

    Thanks for the assistance with IDE vs Bdebugger

    Hi, Rexx had responded to a query about running a script with IDE, the other week. His advice worked, but I haven't been able to locate the thread since, and it didn't show up in my email inbox. ( I selected "and receive email notifications). So, I'm just thanking everyone for the advice...
  10. T

    How can I send a simple parameter to a script, in tc 25?

    Hi, I had a more complicate script that doesn't working, and it turned out that the parameters aren't being interpreted by the IDE. So I whittled it down to a simple script, and there's still a problem: testthis.bat: @echo off @echo "first parameter:" @echo %1 @echo "That was the first...
  11. T

    32 and 64 bit simultaneous portable versions

    Good point, Rexx. Yes it, did. Ok, I'll re-try on an 8.1 PC that doesn't have version 24 already installed. Thanks.
  12. T

    32 and 64 bit simultaneous portable versions

    Hi, I have 2 desktop and 1 portable version of Take Command 24 (to the best of my knowledge). However, I discovered today that my portable version is 64-bit. That's fine, obviously for 64-bit OSs. But I still work with 32-bit PCs. So I tried to install version 24 Portable on a 32-bit...
  13. T

    FFind - can we display n number of lines after the find?

    Looks like you're right. I read through the help, and didn't catch that, until you mentioned it. Ok, thanks. Anr.
  14. T

    FFind - can we display n number of lines after the find?

    Hi, Say that we're looking through several files for a string, say last_name = 'Smith' We want to return not only the line with the string, but also the next 3 lines (Windows carriage returns/line feeds). Is that possible?
Back
Top