Solved

How can I use the Network drive instead of A: drive for Qbasic

Posted on 2014-01-15
8
305 Views
Last Modified: 2014-02-28
We have an old program that was developed in the 80's that is a medical program. We currently use diskettes that run on the A: drive. Since diskettes are becoming harder to find, we need to be able to direct the disk to a patient folder on the server. I currently have the k: drive for patient data and really want it to go into a account number on the server. For example it would be k:\9999. Is this possible and does anyone have any suggestions?
0
Comment
Question by:Qstreetmds
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 45

Expert Comment

by:aikimark
ID: 39783787
1. should be possible (gut feeling)
2. would need to see the program code to tell you what changes would be required in the application.
3. I'm not sure I understand how the program stores/retrieves data and how you organize the data on floppy disks.  If the current directory is used, then you should be able to prompt for an ID and then change the current drive/directory with a batch file or .HTA before launching the program.
4. Where is the basic interpreter located?
0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 500 total points
ID: 39793642
the SUBST command may be what you want. it assigns an unused drive letter to a path of your choice.

SUBST A:  \\myserver\sharename\foldername


so i would create a batch file to run the app.

SUBST A: K:\9999
MyOldApp.Exe
SUBST A: /delete

Open in new window

0
 

Author Comment

by:Qstreetmds
ID: 39833055
I will look into it and see if that will work for us. Thanks!
0
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
LVL 47

Expert Comment

by:Martin Liss
ID: 39890944
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 39890945
I feel the SUBST command was created for just this purpose and is a workable solution.
0
 
LVL 45

Expert Comment

by:aikimark
ID: 39892442
I concur with robberbaron.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question