TheReasonIFail Posted September 15, 2010 Share Posted September 15, 2010 (edited) I'm importing an entry under HKLM so an app can autorun on bootup.Here's the regfile I'm importing:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"App"="\"C:\\Program Files\\Folder\\APP.EXE\" /switch\"C:\\Program Files\\Folder\\data.ini\" /switch /switch /switch"This is how it shows up:C:\Program Files\Folder\APP.EXE /iC:\Program Files\Folder\data.ini /switch /switch /switchDo I need to worry about the quotes?I'm still ironing out the bugs with the configuration of the application so it's not running...I'm just scratching my head with the whole quotes thing. Edited September 15, 2010 by TheReasonIFail Link to comment Share on other sites More sharing options...
DJPro Posted September 15, 2010 Share Posted September 15, 2010 (edited) @TheReasonIFail Maybe you can try something like this:"App"="C:\\Program Files\\Folder\\APP.EXE -switch -f1C:\\Program Files\\Folder\\data.ini"Put all the switches in the middle instead of at the end.I don't know for which application it is but I used it in the past for installing PowerDVD via RunOnceEx.Greetz, DJPro Edited September 15, 2010 by DJPro Link to comment Share on other sites More sharing options...
Andromeda43 Posted September 18, 2010 Share Posted September 18, 2010 If a path statement does not follow the rules of DOS notation, like with spaces in it, then YES you need to put the entire path statement inside of Quotes. Just do it all the time and you won't ever write a line that won't work,,,at least NOT because of that problem.Good Luck, B) Link to comment Share on other sites More sharing options...
Cyker Posted September 19, 2010 Share Posted September 19, 2010 I just tried importing that into my Win2k's registry and it works, quotes around the paths as expected.Not sure why the quotes are disappearing on yours... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now