• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 318
  • Last Modified:

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

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
Qstreetmds
Asked:
Qstreetmds
1 Solution
 
aikimarkCommented:
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
 
Robberbaron (robr)Commented:
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
 
QstreetmdsAuthor Commented:
I will look into it and see if that will work for us. Thanks!
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Martin LissOlder than dirtCommented:
I've requested that this question be deleted for the following reason:

Not enough information to confirm an answer.
0
 
Robberbaron (robr)Commented:
I feel the SUBST command was created for just this purpose and is a workable solution.
0
 
aikimarkCommented:
I concur with robberbaron.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now