problem tranfering gw basic program

January 24, 2011 at 05:37:10
Specs: DOS 5
Hello,
when I copy a gwbasic program I have written on one computer to another computer it will not run and I have to re-write the program on the new computer. Both computers have dos 5 loaded. Can you please help?

Graham


See More: problem tranfering gw basic program

Report •

#1
January 24, 2011 at 07:31:45
How are you copying the files. Are you using

copy *.bas a:

or what?


Report •

#2
January 24, 2011 at 07:49:41
Hi,
I am copying to (a) drive (3.5" floppy) and then copying to new computer via (a) drive

Report •

#3
January 24, 2011 at 07:51:58
When you open the file on the other computer what does it look like?

Report •

Related Solutions

#4
January 24, 2011 at 07:53:35
I forgot to mention, after copying, I can list the file on the new computer so it copies ok, but it will not run,

Report •

#5
January 24, 2011 at 07:58:24
"I can list the file on the new computer"

I am assuming you are running the LIST command and nothing comes up. Again what is the exact method you are using to copy the BAS file to the Floppy?

Are you using the copy *.bas a: at the DOS prompt?


Report •

#6
January 24, 2011 at 08:05:23
Its a while since I last tried it but I will soon need to tranfer to a new computer as my old one is acting up'
Looking at my notes it looks like from dos prompt copy a: (filename)
As I said when I list the program on the computer it looks ok but just won't run when I key F2

Report •

#7
January 24, 2011 at 08:13:42
Correction
from DOS prompt I am using "copy c:(filename):a:(filename)

Report •

#8
January 24, 2011 at 08:22:25
There is your problem. Use...

copy c:(filename) a:(filename)

Also do a

dir A:

to make sure the file is on the disk.

You could also do a TYPE to view the contents of the file like...

a:
type myfile.bas


Report •

#9
January 24, 2011 at 08:37:18
"As I said when I list the program on the computer it looks ok but just won't run"

If that is the case what is the error you get when you type RUN instead of hitting the F2?


Report •

#10
January 24, 2011 at 08:44:54
Many Thanks

I will try it when I get my replacement computer


Report •

#11
January 24, 2011 at 08:45:00
A silly but basic question

Are you running under PLAIN DOS 5.00 or is your computer a Windows XP, Vista or 7 system?

If the operating system is Windows then what you suppose to be DOS prompt actually is just displayed by the builtin emulator and a different behavior is needed.

Report •

#12
January 24, 2011 at 09:01:24
Hello,
Its an old computer with a partition. C Drive is windows 98 / D drive is Dos 5.
As far as I know on D: there are only GWbasic programs that I have written.

Report •

#13
January 24, 2011 at 09:14:33
Hello Ace,
I nearly missed your reply.
It doesn't matter weather I key F2 or type run, nothing happens, no error report is shown

Report •

#14
January 24, 2011 at 09:15:38
And the new computer you plan to migrate?

Report •

#15
January 24, 2011 at 09:31:40
Hopefully a second hand pentium 3 - re-formatted -no windows - just DOS 6.?

Report •

#16
January 24, 2011 at 09:53:56
you said transfert is ok;

can gwbasic load your transfered file program without error (file not found )

if it can be load, type LIST to view code on your screen; if there is an echo of you code on screen; re-read you code if you are missing some thing like an END order after an external call ;

waiting for reply;


Report •

#17
January 24, 2011 at 11:07:56
Hello,
I structure my programs via a menu on the DOS prompt page-If I select say, (A) which is shown at the side of the program I want to run, then (A) is a batch file that automaticly loads and should run the selected program.Everything works, it will load the file, I can LIST the file, it appears exactly as it should without errors, but as soon as I try to run it nothing happens. Someone told me a few years ago that it was not compatible with new computer, I can't see that thats the problem because you used to be able to buy commercial basic programs that would run on any DOS computer.

Report •

Ask Question