I am checking action to wait 10 mins before complete task, we are executing one task through answer file that’s completed quick but in background process /installation running so looking action complete after 10 mins,
Are those smart quotes in the line that failed so aren’t being interpreted correctly? The quotes should look the same as those wrapped around "{now as string}"
It’s still using Smart Quotes. Delete, and re-type, the quotes.
The forum web software is displaying “smart quotes” rather than "straight quotes", so copy/paste won’t work for them.
parameter "addesso"="{now as string}"
dos time /T > C:\pio.txt
pause while {(now - (parameter "addesso") as time) < 10*minute}
dos time /T >> C:\pio.txt
When putting “code” into the forum, it is best to use the formatting button </> to avoid smart-quotes and other autoformating errors.