1.

Solve : Start was unexpected at this time?

Answer» <html><body><p>Hey I was making a smiple script to install some stuff, but I <a href="https://interviewquestions.tuteehub.com/tag/got-23540" style="font-weight:bold;" target="_blank" title="Click to know more about GOT">GOT</a> the error<br/>"Start was unexpected at this time"<br/>here is the full code<br/><br/> Code: <a>[Select]</a>echo off<br/>cls<br/><br/>:start<br/>echo Je moet nooit opnieuwopstarten op het einde doet dit script het voor u!<br/>echo .......................................................................<br/>echo Mount Batllefield <a href="https://interviewquestions.tuteehub.com/tag/2-236987" style="font-weight:bold;" target="_blank" title="Click to know more about 2">2</a>.iso en installeer het.<br/>echo ..........................................<br/>echo Druk op <a href="https://interviewquestions.tuteehub.com/tag/enter-446119" style="font-weight:bold;" target="_blank" title="Click to know more about ENTER">ENTER</a> als het geinstaleerd is.<br/>echo ......................................<br/>pause<br/>goto Patch<br/><br/>:Patch<br/>(%time%) Start installatie patch.<br/>start /wait BF2_Patch_1.41.exe<br/>(%time%) Patch geinstaleerd.<br/>goto Choise<br/><br/>:Choise<br/>Choice /m "64-bit computer"<br/>If Errorlevel 2 Goto No<br/>If Errorlevel <a href="https://interviewquestions.tuteehub.com/tag/1-236780" style="font-weight:bold;" target="_blank" title="Click to know more about 1">1</a> Goto Yes<br/>Goto vervolg<br/>:No<br/>(%time%) Copieren files.<br/>copy BF2.exe "C:\Program Files\EA GAMES\BF2.exe"<br/>copy rzr-b241.nfo "C:\Program Files\EA GAMES\rzr-b241.nfo"<br/>copy CoreDLL.dll "C:\Program Files\EA GAMES\CoreDLL.dll"<br/>(%time%) Copieren files gedaan.<br/>Goto vervolg<br/><br/>:Yes<br/>copy  BF2.exe "C:\Program Files (x86)\EA GAMES\BF2.exe"<br/>copy  rzr-b241.nfo "C:\Program Files (x86)\EA GAMES\rzr-b241.nfo"<br/>copy CoreDLL.dll "C:\Program Files (x86)\EA GAMES\CoreDLL.dll"<br/>goto vervolg<br/><br/>:vervolg<br/>(%time%) Start installatie mappacken.<br/>start /wait ultimate-pack3.exe<br/>start /wait x-07 mappack.exe<br/>(%time%) Installatie mappacken gedaan.<br/>goto shutdown<br/><br/>:shutdown<br/>echo (%time%) Shutdown<br/>echo Je PC word heropgestart binnen 30 sec.<br/>pause<br/>shutdown -r -t 30<br/>endOw, found it forogt echo  <br/>SrryVery good that you figured out your own solution! I had an issue once where the program was not echo-ing a line to a file...I just forgot a percent sign after the variable.Yeay, it's <a href="https://interviewquestions.tuteehub.com/tag/sometimes-648384" style="font-weight:bold;" target="_blank" title="Click to know more about SOMETIMES">SOMETIMES</a> the smallest things that let your script crash I hate that</p></body></html>


Discussion

No Comment Found