Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Extract Variable Value
Name: hanixox Date: December 18, 2008 at 07:38:52 Pacific OS: DOS CPU/Ram: Intel Product: Intel / P4
Comment:
Let's see how well I can explain this,Here is my code : ------- 1- setLocal enabledelayedexpansion 2- :go 3- set 11=A 4- set 12=B 5- set /a n+=1 6- set 1!n! 7- Set X= ??What!! 8- pause 9- goto go ------- at line 6 the result is 11=A , I am not much of a programmer, but I Know that "11" is Variable and "A" is value of the Variable . I want to make X = the value of "11" variable that appear at executed line 6 .
in this case : the Value of (X) will be (A) at the first time and (B) when Enter button pressed.
Summary: I have a txt file containing one line of text which looks something like this : " JDOE <03> UNIQUE 10.123.10.247 362" - only without then inverted commas. The various pie...
Summary: Sorry if this was already answered but wasnt entirely sure how to word what I am looking for as I am an extreme newb in batch scripting. Anyway using a for loop i assigned values to different varialb...
Summary: i am having to learn DOS and batch programming in a crash-course style, in trying to automate a series of installs i need to do whenever creating a master image. i do have some programming background ...