Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



How to emulate c: using a command-line option

Command line options can be used to specify the location of the emulated c: drive. This is useful because it enables the Emulator to be run directly from CD-ROM — necessary because some apps try to create files in the emulated C: drive on startup.

A location set in this way overrides the default settings and any _EPOC_DRIVE_C setting in the configuration file. The process is:

  1. Open a command prompt (MS DOS box)

  2. Specify either of the command lines below:

    epoc -T epoc -C<emulated C drive>

Where T, C, and <emulated C drive> are as specified below:

Command

Description

-C<emulated C drive>

The argument specifies the path of the directory that should be used for the emulated c: drive.

-T

Specifies that the system temporary path should be used as the emulated c: drive.


Example

To map the virtual c: drive to the path d:\test\., invoke epoc.exe using:

epoc -Cd:\test\ --