I've just discovered vDOS and am very impressed with it. Sorry the title of this thread is misleading. However I can't get my old Microsoft COBOL working. Here are the contents of my autoexec.txt:
@ECHO OFF
USE C: ..
rem Switch from Z: to C:
C:
rem Select the COBOL folder
CD MSCOBOL5
IDE
rem Close the vDos window as program is ended
rem EXIT
IDE is a batch file (IDE.BAT) which contains the following:
PATH=C:\MSCOBOL5\BIN;C:\MSCOBOL5\LIB;C:\MSCOBOL5\SOURCE;C:\MSCOBOL5
\HELP;C:\MSCOBOL5\INIT;
SET COBDIR=C:\MSCOBOL5\BIN;C:\MSCOBOL5\LIB;C:\MSCOBOL5\SOURCE;C:\MSCOBOL5
\HELP;C:\MSCOBOL5\INIT;
SET LIB=C:\MSCOBOL5\LIB;
SET INCLUDE=C:\MSCOBOL5\SOURCE;
SET HELPFILES=C:\MSCOBOL5\HELP;
SET INIT=C:\MSCOBOL5\INIT;
CD c:\mscobol5\BIN
PWB.EXE
PWB.EXE is the main user interface. The interface does not load from the batch file. I'm left in C:\MSCOBOL5\BIN and I need to manually type in PWB to load the interface. It's not a mojor problem but I thought PWB.EXE would run automatically.
Probably a simple solution?
Last edit: Anonymous 2014-08-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No obvious reason why PWB wouldn’t start from the batch file.
You type in PWB and it works, can it be that you have a PWB.COM and a PWB.EXE and the first is to start PWB?
If PWB doesn’t need any files outside the C:\MSCOBOL5 folder, your could consider USE C: C:\MSCOBOL5 and drop all those \MSCOBOL5 references.
But that’s just to clean up the batch file.
Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Gnips: well, I went back into IDE.BAT and specifically inserted a line-feed and ran vDOS again - this time the user interface was loaded. So thanks for the suggestion.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
I've just discovered vDOS and am very impressed with it. Sorry the title of this thread is misleading. However I can't get my old Microsoft COBOL working. Here are the contents of my autoexec.txt:
@ECHO OFF
USE C: ..
rem Switch from Z: to C:
C:
rem Select the COBOL folder
CD MSCOBOL5
IDE
rem Close the vDos window as program is ended
rem EXIT
IDE is a batch file (IDE.BAT) which contains the following:
PATH=C:\MSCOBOL5\BIN;C:\MSCOBOL5\LIB;C:\MSCOBOL5\SOURCE;C:\MSCOBOL5
\HELP;C:\MSCOBOL5\INIT;
SET COBDIR=C:\MSCOBOL5\BIN;C:\MSCOBOL5\LIB;C:\MSCOBOL5\SOURCE;C:\MSCOBOL5
\HELP;C:\MSCOBOL5\INIT;
SET LIB=C:\MSCOBOL5\LIB;
SET INCLUDE=C:\MSCOBOL5\SOURCE;
SET HELPFILES=C:\MSCOBOL5\HELP;
SET INIT=C:\MSCOBOL5\INIT;
CD c:\mscobol5\BIN
PWB.EXE
PWB.EXE is the main user interface. The interface does not load from the batch file. I'm left in C:\MSCOBOL5\BIN and I need to manually type in PWB to load the interface. It's not a mojor problem but I thought PWB.EXE would run automatically.
Probably a simple solution?
Last edit: Anonymous 2014-08-25
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
No obvious reason why PWB wouldn’t start from the batch file.
You type in PWB and it works, can it be that you have a PWB.COM and a PWB.EXE and the first is to start PWB?
If PWB doesn’t need any files outside the C:\MSCOBOL5 folder, your could consider USE C: C:\MSCOBOL5 and drop all those \MSCOBOL5 references.
But that’s just to clean up the batch file.
Jos
Do you have a line feed on last (PWB.EXE) line? Just a thought.
View and moderate all "General" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Gnips: well, I went back into IDE.BAT and specifically inserted a line-feed and ran vDOS again - this time the user interface was loaded. So thanks for the suggestion.