1@echo off 2 3:: ############################################################################### 4:: # 5:: # Copyright (C) 2009-2013 Nintendo. All rights reserved. 6:: # 7:: # These coded instructions, statements, and computer programs contain 8:: # proprietary information of Nintendo of America Inc. and/or Nintendo 9:: # Company Ltd., and are protected by Federal copyright law. They may 10:: # not be disclosed to third parties or copied or duplicated in any form, 11:: # in whole or in part, without the prior written consent of Nintendo. 12:: # 13:: ############################################################################### 14 15if /I "%1"=="" ( 16 echo Usage: pcfsoversata -enable^|-disable 17 echo. -enable Enable PCFS over SATA connectivity. 18 echo. -disable Disable PCFS over SATA connectivity. 19) else ( 20 if /I "%1"=="-enable" ( 21 call cafeoptions.bat -pcfsoversata > nul 22 set USE_PCFS_OVER_SATA=1 23 ) else ( 24 if /I "%1"=="-disable" ( 25 call cafeoptions.bat -nopcfsoversata > nul 26 set USE_PCFS_OVER_SATA=0 27 ) else ( 28 echo Bad argument '%1' on command line. Please use -enable or -disable 29 ) 30 ) 31) 32