Archive: Get Directory


Get Directory
Hi Everyone,
can someone please help me, I need to copy files from removable media to the hard disk, but I doesn't know how to detect the path of the media. Is there any library in that can allows me to determine the drive of the removable media? Or was there any better ways to extract all the files from cd and place it into the harddisk?


Is your installer running from the removable drive?
If yes then you can use $EXEDIR to extract the drive letter of the removable media.

If not, ${GetDrives} from FileFunc.nsh may help to get a list of the available removable drives and then simple read/write tests will help identify the drive you're after (in case there are multiple).

Hope this helps,
CF