Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: goto variable substitution percent 3033 label not found
Script = param1 GoTo Script :one Beep Exit :two Beep BeepThe parameter is passed correctly, but I then get error 3033 label not found.
goto scriptlooks for a label of script. What you want is:
goto %script%where the contents of the script variable replaces %script%.
On the topic of substitution note that "%script%" is the same as plain script.
Article ID: W13923
Filename: Using Goto Based on Variable Substitution.txt
File Created: 1999:04:15:16:57:18
Last Updated: 1999:04:15:16:57:18