Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



How to emulate drives using the configuration file

The location of virtual drives can be specified by entries in the Emulator configuration file (usually epoc.ini). You can override the default locations of z: and c: drives, or specify additional drives. The process is:

  1. Open epoc.ini in a text editor. It can be found at .\epoc32\data\.

  2. Enter the keyword _EPOC_DRIVE_, followed immediately by the letter for the drive, a space, and the location on the PC file system it maps to. For example: _EPOC_DRIVE_<drive-letter> <location>

  3. Save the file.


Example

To specify an additional virtual drive d: which maps to the A: drive on the PC, use the setting:

_EPOC_DRIVE_D A:\

This would allow the Emulator to treat your PC’s diskette drive as its own removable drive — which is usually mapped to d: on target machines.