David Higgs
Programmer
During Program Development I often use my "Project" on Drive D: of my Desktop PC. I also use my "Project" on my Laptop on Drive C: To allow for this I have the following code in the Main PRG of my application:
The above appears to work, but is this correct?
Would the compiled .exe work with this setup?
How do others deal with this scenario?
Regards,
David
Code:
selected_drive = LEFT (SYS(16),3) && Executing Program Filename
CD (selected_drive)
The above appears to work, but is this correct?
Would the compiled .exe work with this setup?
How do others deal with this scenario?
Regards,
David