Solved

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

Posted on 2014-01-15
8
307 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 46

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 48

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 46

Expert Comment

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

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

In this post we will learn different types of Android Layout and some basics of an Android App.
What do responsible coders do? They don't take detrimental shortcuts. They do take reasonable security precautions, create important automation, implement sufficient logging, fix things they break, and care about users.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Starting up a Project
Suggested Courses

635 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