featuremgmt/featuremgr/tools/datfilehelpers/fmcopydat.cmd
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 @echo off
       
    17 
       
    18 if "%1"=="-h" goto help
       
    19 
       
    20 if "%1"==""  (set srcdat=%EPOCROOT%epoc32\data\config\features.dat) else (set srcdat=%1)
       
    21 
       
    22 echo Attempting to copy "%srcdat%" into both Emulator Z: drives...
       
    23 
       
    24 copy /Y %srcdat% %EPOCROOT%epoc32\release\winscw\urel\z\private\10205054\features.dat
       
    25 copy /Y %srcdat% %EPOCROOT%epoc32\release\winscw\udeb\z\private\10205054\features.dat
       
    26 echo Done.
       
    27 
       
    28 goto end
       
    29 
       
    30 :help
       
    31 echo on
       
    32 @echo . 
       
    33 @echo Installs the specified features.dat file into the FeatMgr emulator Z:
       
    34 @echo directories. If no filename is supplied it attempts to install the one 
       
    35 @echo from epoc32/data/config create by the romkit component features command.
       
    36 @echo .
       
    37 @echo usage: "fmcopydat [-h] [<features.dat filename>]"
       
    38 @echo example: "fmcopydat features.dat"
       
    39 @echo .
       
    40 
       
    41 :end