0

I am trying to export the registry value to a text file and then use it to set as a variable in batch.

For e.g. I want to find out what is the current sync location for One Drive folder, which resides in HKCU -> Environment - OneDrive (screenshot attached), then want to set a variable in batch for it.

Here's where it is

1 Answer 1

1

If your registry key exists in that location then you don't need to do anything. Your location is already set for you!

Echo(%OneDrive%

Or

Set OneDrive
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.