Jump to content

Recommended Posts

Posted (edited)

Hello,

I am trying to run this

reg export "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\profiles" c:\profiles.reg

as

RunWait(@ComSpec & " /c " & "reg export HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\profiles' c:\profiles.reg","")

The first code is working in the command line. But because of the spaces i have to take the whole command between "". But in autoit it doesnt seem to recognice that way.

Since the thing i want to export is not a single key i cant use regread also.

Thanks in advance.

Edited by alfa
Posted

I have tried that and tried it again now. but it doesnt work. I see the cmd screen but it doesnt generate the the file.

Thanks a lot for the answer though.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...