General information
Category:
Installation, Setup and Configuration
Title:
Problem in running a prg
I am trying to develop a program for keeping records of individual student
in respective folder. I have a database table in which the ID and Name
of the Student will be stored. Then the next program will execute. I
have coded it as follows:
SELE A && student
INDEX ON CODE TO mStudT
SEEK mStudentID
IF FOUND()
bn=name
bn=allt(bn)
@12,60 SAY ALLT(NAME)
ENDIF
CH=0
@16,45 GET CH FUNCTION "*H \ READ
IF CH=1
*--------------
BN="c:\"+allt(BN)
if !directory(BN)
!MD &BN
# # [see note below]
!cd &bn
DO P1
ELSE
WAIT WINDOW "ALREADY EXISTS !PRESS [E]NTER TO CONTINUE"
CLOSE ALL
!cd &bn
DO P12
endif
My problem: How I can run the exe from the respective folder through
setup. P1 and P12 are the programs linked with forms, reports,
databases. [If I don't build exe and setup I can easily copied prgs
,databases at the # # above and run]
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only