Quantcast
Channel: Visual COBOL - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 4356

Setting directory path in Visual Cobol for .NET

$
0
0

Is there a way in Visual Cobol for .NET to specify a directory path somewhere in the project properties?

As an example, we have a copybook in a program as follows:

K:EMPESLCT.WS

The K: drive on our server houses all of our source code and copybooks and each 'project' has its own sub-folder on the K: drive.

In our old command line version of MF we would run a batch file for each individual project that would change to the appropriate directory:

ex:  

K:

cd\source\proj1\

Now we would launch the old workbench from K:\source\proj1\ and any reference in our programs to K: would be fine. 

If I import this old code into Visual Cobol for .NET how do I tell the environment that any reference to K: should really be K:\source\proj1 ?

When I am trying to compile any of my programs I am getting 'Unknown Copybook' errors because it is looking in the root of K: instead of K:\source\proj1

Hopefully this hasn't been too convoluted!  

Thanks


Viewing all articles
Browse latest Browse all 4356


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>