Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-01-15
8
Medium Priority
?
311 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 2000 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
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 
LVL 49

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

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.

Question has a verified solution.

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

Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
If you are a mobile app developer and especially develop hybrid mobile apps then these 4 mistakes you must avoid for hybrid app development to be the more genuine app developer.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Progress
Suggested Courses

721 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