Search found 2 matches

by rickdanna
02 May 2020 20:28
Forum: DOS Batch Forum
Topic: Reg Query For Loop and Reg Add failure
Replies: 2
Views: 1192

Re: Reg Query For Loop and Reg Add failure

Thank you!

Well explained. I also found out from your example that there is a difference when using ` vs. ', this I was never aware of, I have been using (and getting away with!) ' for years.

I am reading up on Set local and delayed expansion so I can get an understanding.

Much appreciated!

R
by rickdanna
02 May 2020 08:04
Forum: DOS Batch Forum
Topic: Reg Query For Loop and Reg Add failure
Replies: 2
Views: 1192

Reg Query For Loop and Reg Add failure

I'm trying retrieve the path of a variable registry key location using "S/N:" and use it in a REG ADD routine. The issue is that it is returning the same result 3 times over for each key with "S/N:" and this does not change any of the target data values. c:\>SET TARGETPATH=VID_05E0&PID_0820\S/N:7014...