What steps will reproduce the problem? 1. If using a UUID command in a menu then if debug is off you get no outpus 2. For example see http://www.rmprepusb.com/tutorials/xiaopan 3.
What is the expected output? What do you see instead? UUID > nul can be used if no output is required. There is no reason for UUID to take note of debug level
What version of the product are you using? On what operating system?
Please provide any additional information below. For example see http://www.rmprepusb.com/tutorials/xiaopan
Comment #1
Posted on Feb 3, 2013 by Happy KangarooSorry - typo - outpus = output !!
Comment #2
Posted on Feb 3, 2013 by Happy Kangaroodebug 0 uuid (bd) > (md)0x220+1 cat --skip=18 --length=9 (md)0x220+1 | set UUID= echo %UUID%
fails
Comment #3
Posted on Feb 4, 2013 by Happy HippoAfter using the UUID command, you can use %?% or %?_UUID% To get results debug 0 uuid (bd) && set UUID=%?% echo %UUID%
Comment #4
Posted on Feb 4, 2013 by Happy Kangaroomuch better!
uuid () > nul && set UUID=%?%
thanks! please close!
Comment #5
Posted on Feb 4, 2013 by Happy Kangaroosorry - just tested uuid () > nul && set UUID=%?% and it doesn't work! but uuid () && set UUID=%?% does work - why does it not work if I redirect to nul???
Comment #6
Posted on Feb 4, 2013 by Happy KangarooPlease try this - something is odd with %?%
title test uuid (bd) && set UUID=%?% echo UUID=%UUID% ?_UUID=%?_UUID% uuid (bd) && set UUID=%?% echo UUID=%UUID% ?_UUID=%?_UUID% pause root
Comment #7
Posted on Feb 4, 2013 by Happy KangarooThis also does not work (must execute on fresh boot or will appear to work!)
title test uuid (bd) && set UUID=%?% && set var=%_UUID% echo UUID=%UUID% var=%var% ?_UUID=%?_UUID% set UUID=%?% && set var=%?_UUID% echo UUID=%UUID% var=%var% ?_UUID=%?_UUID% pause root
Presumably this is because of order of execution when using && ????
Comment #8
Posted on Feb 4, 2013 by Happy Hippoyes!you are right. Should be uuid () && call set UUID =%^?%
Comment #9
Posted on Feb 15, 2013 by Massive Kangaroo(No comment was entered for this change.)
Status: Done
Labels:
Type-Defect
Priority-Medium