Category : BASIC Source Code
Archive   : QBFAQR01.ZIP
Filename : COPY.BAS
'From: JOHN SNEERINGER
'---------------------------------------------------------------------------
' ===========================================================
' Copy File From Command Line -> Named to whatever F2$ is.
' ===========================================================
F1$ = COMMAND$ ' Target filename from command line
INPUT "New Name?"; F2$ ' name of file you want to copy to
OPEN "B", 1, F1$
OPEN "B", 2, F2$
A$ = SPACE$(1024)
FOR i = 1 TO LOF(1) \ 1024
GET 1, , A$
PUT 2, , A$
NEXT i
IF LOF(1) MOD 1024 > 0 THEN
A$ = SPACE$(LOF(1) MOD 1024)
GET 1, , A$
PUT 2, , A$
END IF
CLOSE 1, 2
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/