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?
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...
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...
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...
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...
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...
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...
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...
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...
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?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.