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 10scvol

  1. 1

    CMD file kicks out to prompt

    1: on error (echo %_date %_time Error at line %_batchline >> g:\ftp_upload\errors.txt & start echo %_date %_time Error at line %_batchline) 2: setlocal 3: gosub :NEWSCREEN 4: 5: rem **SET PICTURE COUNTER 6: set x=0 7: 8: rem **SET ARCHIVE DIRECTORIES 9: set...
  2. 1

    CMD file kicks out to prompt

    Charles and Vince, "Kicking oujt" meant that the CMD file stopped and kicked out to the TCC prompt. I am not ignoring you guys but am collecting data so to speak. Vince made another good suggestion wth echo Error at line %_batchline & quit. However that created its own problem in that the CMD...
  3. 1

    CMD file kicks out to prompt

    Hi Vince, The code is the same as posted before with two changes, both the suggested ones. 1. Located under the END label: :END delay 1 if %_IFTP==1 iftp /c goto :BEGIN endlocal quit ... and, 2. The suggestion you just made at the beginning of file: on error (echo Error at line %_batchline &...
  4. 1

    CMD file kicks out to prompt

    Well there is no question that the code suggested would improve the CMD but it did NOT fix the problem! Ran fine for a week and has kicked out twice in the last 36 hours! Any ideas?
  5. 1

    CMD file kicks out to prompt

    Vince & Frank, THANKS! I have looked at this thing for TOO long. Both suggestions got my attention. I think Vince may have caught the mistake with the not ending the IFTP session. I left code as it was but entered an if %_iftp==1 iftp /c following the END marker. That may very well solve the...
  6. 1

    CMD file kicks out to prompt

    Have been using 4DOS/TCC since days of downloading beta versions of 4DOS from Channel One BBS but has been awhile since I wrote more than a few lines of code for a CMD and am obviously a bit rusty. I need help. Obviously Rex and his staff do not have the time to proofread and correct folks' BAT...
Back
Top