|
Post by mike on Jul 17, 2019 19:04:26 GMT 1
Hi guys, sorry for most likely a stupid question that has been asked many times but still: 1. We have a 2 folder dos app. C:\app1 C:\data1. The C:\data1 locations are hardcoded in C:\app1 executables. 2. We are evaluating vDOS for a site licence. 3. If I copy both aforementioned folders to vDOS folder - everything is good. How should I map the folders in autoexec that first folder sees the second one when accessing files like C:\data1\data.dbf?
Thanks and Regards, Mike
|
|
|
Post by Jos on Jul 17, 2019 19:22:00 GMT 1
Copy the app1 and data1 folders to <anywhere>. Then add the line
USE C: <anywhere>\
to autoexec.txt, so those folders will be seen as C:\app1 and C:\data1 by the DOS programs. <anywhere> can be any Windows (preferably UNC) path.
Jos
|
|
|
Post by mike on Jul 18, 2019 10:31:48 GMT 1
Thanks for the quick reply! The thing is that I can't move the existing apps, they are deployed on a bunch of boxes and it would be hard to change the setup on all of them. Is there more non-intrusive way? I was able to configure DosBox, although I'm having other issues with it so I wanted to check out your app.
In DosBox in autoexec portion of config I have
******************************** mount C C:\
C:
cd app1 app1.exe *******************************
Thanks and Regards, Mike
|
|
|
Post by Jos on Jul 18, 2019 12:29:12 GMT 1
The DOS apps would just see a C: drive with C:\app1 and C:\data1, no matter where those are actually located in the Windows filesystem. But you could of course also match DOS C: to Windows C: in autoexec.txt”: USE C: C:\ CD app1 app1.exe No C: is needed since vDos starts with a C:\ prompt. You could have a look at www.vdos.info/faqs.html Miscellaneous - vDos/DOS drive letters are not those of Windows and Advanced - A portable DOS application. Jos
|
|