Salve,
scusate ma non so dove chiedere aiuto per questo script e non conosco le istruzioni.
Se ho sbagliato la sezione spostatemi in quella giusta!!
codice:
Errorlevel( "off" )
XCopy( "\SDMMC\TT7\MapSettingsEu\*.*", "\SDMMC\Europa", True )
sleep 100
XCopy( "\SDMMC\TT7\MapSettingsIt\*.*", "\SDMMC\Italia", True )
sleep 100
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "ACSuspend",0 )
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "ACSuspendTimeout",0 )
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "ACSystemIdle",0 )
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "ACUserIdle",0 )
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "BattSuspend",0 )
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "BattSuspendTimeout",0 )
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "BattSystemIdle",0 )
RegWriteDWord( "HKLM", "\System\CurrentControlSet\Control\Power\Timeouts", "BattUserIdle",0 )
Sleep 200
RunWait ( "\SDMMC\TT7\TomTom_Navigator.exe" )
# Prova
XCopy( "\SDMMC\Italia\MapSettings.cfg", "\SDMMC\TT7\MapSettings.cfg", True )
sleep 100
Exit
Vorrei sapere quale intruzioni si devono inserire dopo RunWait ( "\SDMMC\TT7\TomTom_Navigator.exe" ) per far si che se esce un messaggio di errore, anzichè proseguire con l'istruzione successiva: XCopy( "\SDMMC\Italia\MapSettings.cfg", "\SDMMC\TT7\MapSettings.cfg", True )
, salti direttamente a exit. Es.:If ............
Ringrazio in anticipo