>If the CD is drive 'F' and the program files are copied into the windows temp directory and then run from the program operating on the CD then sys(5),curdir,sys(2014) etc all return drive 'F' or an invalid path. Can anyone give me any guidance on this, any help will be greatly appreciated...
These commands all give the current directory.
SYS(16,1) will give the full path to the starting program.
You can then use JustPath() to get just the directory.
Insanity: Doing the same thing over and over and expecting different results.