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

Recent content by Rick Reinckens

  1. R

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

    Actually, I'm still running into problems with this. I modified the code and I'm still getting the Ctrl-Z added: set m_vld="F:\CLIENT DOWNLOADS\TXE\a-Temp\TXE-MAIN.qa-vld" set j_csv="F:\CLIENT DOWNLOADS\TXE\a-Temp\TXE-JUNK*.csv" IFF EXIST %j_csv THEN copy...
  2. R

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

    For future reference, here's code that does copy multiple files only up to a Ctrl-Z and doesn't add a Ctrl-Z to the target file. copy /a main.qa-vld+junk.csv /b tempfile.txt
  3. R

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

    Thanks! I hadn't read through the /B option in detail. I thought it was just "binary copy". Obviously a case of: "When all else fails READ THE INSTRUCTIONS!!!" Me: "But all else hasn't failed yet ..." By the way, I do need to be concerned about DOS compatibility--our main database program...
  4. R

    Automatic quotes around filenames that contain spaces

    That could be a problem when using partial filenames, e.g.: Set TMP_DIR=C:\MyFiles\New stuff Set Outfile=Target File.txt IF EXIST "%TMP_DIR\%Outfile" echo Target File.txt exists
  5. R

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

    In this code .qa-vld and .csv are both semicolon-delimited plaintext files. The only control characters are CRLF. The qa-vld file is just a semi-delimited csv file with a header row. I have set Windows to open .qa-vld in Excel, although that happens later. set m_vld="F:\CLIENT...
  6. R

    Warn X days before report due

    Just an additional follow-up. It's Friday May 11th and, as it should, the program just popped up that comments are due Tuesday May 15th. I'm still using GT 18. Actually, once the Library system is fleshed out with a standard way to return values from Library functions, this sounds like an...
  7. R

    Vertical scroll bar disappeared with SCREEN

    Thanks! That solved it. Somehow it got changed to 25. I did open another window and that showed 335, but I'm running the actual program right now and that window was 25. I changed it to 1000 and the scroll bar is back.
  8. R

    Vertical scroll bar disappeared with SCREEN

    The program runs by double-clicking in Windows Explorer and not from either a tab or a command line. The scroll bar used to appear immediately, while the records were being processed and written to the screen. "DONE" is at the very end of the program, so it's not a factor. After the stuff is...
  9. R

    Vertical scroll bar disappeared with SCREEN

    I have a program I've been using for years that writes various data using SCREEN, basically record number, name, account number dollar amount, then the next record on a new line. Two days ago the window's vertical scroll bar disappeared and I can't scroll back with the mouse either. I didn't...
  10. R

    Associate file by name rather than extension?

    Is it possible in Windows 7 to associate a file with a program based on the file name not the extension? We download a variety of files that have standard names but all have a .TXT extension. I need to open them in Excel and that means right-click, select Open With ..., select Excel 2016...
  11. R

    Warn X days before report due

    Just a follow-up on this--I did change it to GT 18 and have been using it for several months without any problems.
  12. R

    UnLIBRARY command

    I agree that there should be a standard way to return a value. As I wrote in the original suggestion discussion about adding a LIBRARY command, there is always a problem with workarounds because different people will implement different workarounds. There are some related issues, such as TCC...
  13. R

    System variable with TCC folder path

    I'm not going to get into that. The suggestion is simple and useful.
  14. R

    System variable with TCC folder path

    You're assuming I'm a developer with a power user machine. I'm not--I'm a lawyer (with no particular programming background ...) and the small firm still uses some DOS software, so we're limited to 32-bit Windows on 2009-era PC's. Plus, VM's would require multiple licenses for other software...
  15. R

    System variable with TCC folder path

    I'm not looking to use whatever happens to be the current interpreter. What happened is I have both TCC/TCMD 21 and 22 installed. Instead of hardcoding the path for a particular TCC version I want to be able to use a system variable. As I indicated, I know how to add a system variable, which...
Top Bottom