CMD copy text between 2 characters [on hold]Disable “Automatically detect settings” in IE proxy...

I've given my players a lot of magic items. Is it reasonable for me to give them harder encounters?

Why doesn't "adolescent" take any articles in "listen to adolescent agonising"?

Using the imperfect indicative vs. subjunctive with si

Should I use HTTPS on a domain that will only be used for redirection?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

Can inspiration allow the Rogue to make a Sneak Attack?

Are small insurances worth it

What is Tony Stark injecting into himself in Iron Man 3?

Can you run a ground wire from stove directly to ground pole in the ground

Create chunks from an array

Where is the fallacy here?

Why are special aircraft used for the carriers in the United States Navy?

Should we avoid writing fiction about historical events without extensive research?

When to use the term transposed instead of modulation?

Do natural melee weapons (from racial traits) trigger Improved Divine Smite?

Is there such a thing in math the inverse of a sequence?

Why is there an extra space when I type "ls" on the Desktop?

Can a Mimic (container form) actually hold loot?

What is the meaning of option 'by' in TikZ Intersections

What is "desert glass" and what does it do to the PCs?

Does the in-code argument passing conventions used on PDP-11's have a name?

Sundering Titan and basic normal lands and snow lands

Is "cogitate" an appropriate word for this?

A bug in Excel? Conditional formatting for marking duplicates also highlights unique value



CMD copy text between 2 characters [on hold]


Disable “Automatically detect settings” in IE proxy configurationMacBook Pro / Windows 7 : remap Cmd key to Ctrl, except Cmd+Tab to Alt+TabWinlogon entry userinit DataHow to list all applications displayed from add/remove WinXP/Win7 via command-line?Ways to start a program at the same time as cmdBatch file won't run as administrator unless via cmd promptRobocopy: How to copy assets from multiple locations to a single location and maintain a logHow to set TLS protocols as default after applying KB3140245?How do I combine multiple java (OpenJDK) buttons into a pile on the taskbar?Reg Query Search for a Value













0















I have this output in txt file:



HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA}
DisplayName REG_SZ WinAppDeploy


I want to copy The String between the brackets {} and assign it to Variable.



I want it by Batch, I'm using CMD win 7.










share|improve this question















put on hold as too broad by DavidPostill 20 hours ago


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 1





    Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.

    – DavidPostill
    20 hours ago
















0















I have this output in txt file:



HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA}
DisplayName REG_SZ WinAppDeploy


I want to copy The String between the brackets {} and assign it to Variable.



I want it by Batch, I'm using CMD win 7.










share|improve this question















put on hold as too broad by DavidPostill 20 hours ago


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.














  • 1





    Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.

    – DavidPostill
    20 hours ago














0












0








0








I have this output in txt file:



HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA}
DisplayName REG_SZ WinAppDeploy


I want to copy The String between the brackets {} and assign it to Variable.



I want it by Batch, I'm using CMD win 7.










share|improve this question
















I have this output in txt file:



HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA}
DisplayName REG_SZ WinAppDeploy


I want to copy The String between the brackets {} and assign it to Variable.



I want it by Batch, I'm using CMD win 7.







windows-7






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 12 hours ago







Abdullah Abualkher

















asked 21 hours ago









Abdullah AbualkherAbdullah Abualkher

32




32




put on hold as too broad by DavidPostill 20 hours ago


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.









put on hold as too broad by DavidPostill 20 hours ago


Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.










  • 1





    Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.

    – DavidPostill
    20 hours ago














  • 1





    Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.

    – DavidPostill
    20 hours ago








1




1





Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.

– DavidPostill
20 hours ago





Please note that superuser.com is not a free script/code writing service. If you tell us what you have tried so far (include the scripts/code you are already using) and where you are stuck then we can try to help with specific problems. You should also read How do I ask a good question?.

– DavidPostill
20 hours ago










1 Answer
1






active

oldest

votes


















0














Would this help start you off:



@echo off
SET STRING="HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA} DisplayName REG_SZ WinAppDeploy"
for /f "tokens=1,2 delims={" %%a in ("%STRING%") do (
for /f "tokens=1,2 delims=}" %%a in ("%%b") do (
echo %%a
)
)





share|improve this answer



















  • 1





    This could be reduced to one FOR loop using for /f "tokens=2 delims={}" %%a in ("%STRING%") do (

    – Worthwelle
    12 hours ago











  • thanks a lot friend

    – Abdullah Abualkher
    12 hours ago


















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Would this help start you off:



@echo off
SET STRING="HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA} DisplayName REG_SZ WinAppDeploy"
for /f "tokens=1,2 delims={" %%a in ("%STRING%") do (
for /f "tokens=1,2 delims=}" %%a in ("%%b") do (
echo %%a
)
)





share|improve this answer



















  • 1





    This could be reduced to one FOR loop using for /f "tokens=2 delims={}" %%a in ("%STRING%") do (

    – Worthwelle
    12 hours ago











  • thanks a lot friend

    – Abdullah Abualkher
    12 hours ago
















0














Would this help start you off:



@echo off
SET STRING="HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA} DisplayName REG_SZ WinAppDeploy"
for /f "tokens=1,2 delims={" %%a in ("%STRING%") do (
for /f "tokens=1,2 delims=}" %%a in ("%%b") do (
echo %%a
)
)





share|improve this answer



















  • 1





    This could be reduced to one FOR loop using for /f "tokens=2 delims={}" %%a in ("%STRING%") do (

    – Worthwelle
    12 hours ago











  • thanks a lot friend

    – Abdullah Abualkher
    12 hours ago














0












0








0







Would this help start you off:



@echo off
SET STRING="HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA} DisplayName REG_SZ WinAppDeploy"
for /f "tokens=1,2 delims={" %%a in ("%STRING%") do (
for /f "tokens=1,2 delims=}" %%a in ("%%b") do (
echo %%a
)
)





share|improve this answer













Would this help start you off:



@echo off
SET STRING="HKEY_LOCAL_MACHINESOFTWAREWOW6432NodeMicrosoftWindowsCurrentVersionUninstall{03343DEA-224B-E9B6-1FBB-E637E6BC6BAA} DisplayName REG_SZ WinAppDeploy"
for /f "tokens=1,2 delims={" %%a in ("%STRING%") do (
for /f "tokens=1,2 delims=}" %%a in ("%%b") do (
echo %%a
)
)






share|improve this answer












share|improve this answer



share|improve this answer










answered 20 hours ago









HelpingHandHelpingHand

1,00549




1,00549








  • 1





    This could be reduced to one FOR loop using for /f "tokens=2 delims={}" %%a in ("%STRING%") do (

    – Worthwelle
    12 hours ago











  • thanks a lot friend

    – Abdullah Abualkher
    12 hours ago














  • 1





    This could be reduced to one FOR loop using for /f "tokens=2 delims={}" %%a in ("%STRING%") do (

    – Worthwelle
    12 hours ago











  • thanks a lot friend

    – Abdullah Abualkher
    12 hours ago








1




1





This could be reduced to one FOR loop using for /f "tokens=2 delims={}" %%a in ("%STRING%") do (

– Worthwelle
12 hours ago





This could be reduced to one FOR loop using for /f "tokens=2 delims={}" %%a in ("%STRING%") do (

– Worthwelle
12 hours ago













thanks a lot friend

– Abdullah Abualkher
12 hours ago





thanks a lot friend

– Abdullah Abualkher
12 hours ago



Popular posts from this blog

VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...