I needed to come up with something that detected the drive the user was running my program and I came up with this. It detects the drive the program is running on and changes the current working directory to that drive.
10 DIM a$(100): OPEN # 2,"v>a$": PWD : CLOSE #2
20 LOAD a$(1)+":"
30 PRINT a$(1)+":"