Hi,
sorry but I don't know where to ask for help on this script and I am not familiar with the instructions.
Want to know how much you must insert after intruzioni RunWait ("\SDMMC\TT7\TomTom_Navigator.exe") so that if an error message comes up, rather than continue with the next statement: XCopy( "\SDMMC\Italia\MapSettings.cfg", "\SDMMC\TT7\MapSettings.cfg", True )Code: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
, skip directly to exit. :If ............
Thank you



Reply With Quote
Bookmarks