This should be simple but I am stumped. I wrote a script that installs from a flash drive (drive E:) and when I finish running the install it won't let me eject the flash drive because it is busy. I am sure it is because that is the drive that is current open.
I need a was, at the end of my install, to change back to the boot drive before I exit my install program. I tried FileChangeDir(@windowsdir) but I have a feeling it has the same effect as if at the command prompt. If I am on drive E: and do a cd c:\windows it woun't work because I first have to change do drive C: then do a cd \windows.
What AutoIt function do I use to simply change the working drive to C:? or better yet to change back to the boot drive?
I need a was, at the end of my install, to change back to the boot drive before I exit my install program. I tried FileChangeDir(@windowsdir) but I have a feeling it has the same effect as if at the command prompt. If I am on drive E: and do a cd c:\windows it woun't work because I first have to change do drive C: then do a cd \windows.
What AutoIt function do I use to simply change the working drive to C:? or better yet to change back to the boot drive?