sl@0: @rem sl@0: @rem Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: @rem All rights reserved. sl@0: @rem This component and the accompanying materials are made available sl@0: @rem under the terms of the License "Eclipse Public License v1.0" sl@0: @rem which accompanies this distribution, and is available sl@0: @rem at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: @rem sl@0: @rem Initial Contributors: sl@0: @rem Nokia Corporation - initial contribution. sl@0: @rem sl@0: @rem Contributors: sl@0: @rem sl@0: @rem Description: sl@0: @rem sl@0: sl@0: IF NOT EXIST "\usewinpcap.txt" GOTO SKIP_WINPCAP sl@0: IF NOT EXIST "\epoc32\winscw\c\auto_winpcap.cfg" GOTO SKIP_WINPCAP sl@0: attrib -r \epoc32\winscw\c\auto.cfg sl@0: copy /Y \epoc32\winscw\c\auto_winpcap.cfg \epoc32\winscw\c\auto.cfg sl@0: attrib -r \epoc32\winscw\c\prompt.cfg sl@0: copy /Y \epoc32\winscw\c\auto_winpcap_prompt.cfg \epoc32\winscw\c\prompt.cfg sl@0: IF (%WINSCW_MAC%)==() ( sl@0: call perl \epoc32\tools\configchange.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB sl@0: ) ELSE ( sl@0: call perl \epoc32\winscw\c\configchangebats.pl --config ethernetNoCommDB --kernel EKA2 --target winscw --variant UDEB sl@0: ) sl@0: GOTO CONFIG_DONE sl@0: sl@0: :SKIP_WINPCAP sl@0: sl@0: IF NOT EXIST "\usewintap.txt" GOTO SKIP_WINTAP sl@0: IF NOT EXIST "\epoc32\winscw\c\auto_wintap.cfg" GOTO SKIP_WINTAP sl@0: attrib -r \epoc32\winscw\c\auto.cfg sl@0: copy /Y \epoc32\winscw\c\auto_wintap.cfg \epoc32\winscw\c\auto.cfg sl@0: attrib -r \epoc32\winscw\c\prompt.cfg sl@0: copy /Y \epoc32\winscw\c\auto_wintap_prompt.cfg \epoc32\winscw\c\prompt.cfg sl@0: GOTO CONFIG_DONE sl@0: sl@0: :SKIP_WINTAP sl@0: sl@0: :CONFIG_DONE sl@0: rem Set up tests using the automatic connection commdb configuration sl@0: sl@0: call \epoc32\release\winscw\udeb\ced -dtextshell -- -i c:\auto.cfg sl@0: call \epoc32\release\wins\udeb\ced -dtextshell -- -i c:\auto.cfg