bn1z Posted February 4, 2023 Share Posted February 4, 2023 This my code, add key to registry $PATH = @SCRIPTDIR RegWrite('HKCR\com.epicgames.launcher\shell\open\command', '','REG_SZ', $PATH & '\Epic Games\Launcher\Portal\Binaries\Win64\EpicGamesLauncher.exe %1') this is my result in registry , without " Quote G:\Online Games\World War Z\Epic Games\Launcher\Portal\Binaries\Win64\EpicGamesLauncher.exe %1 I want, the key in the registry has a " at the beginning and at the end, how do I fix my code? I want to have a " at the beginning and at the end "G:\Online Games\World War Z\Epic Games\Launcher\Portal\Binaries\Win64\EpicGamesLauncher.exe" %1 Sorry I have to use Google Translate Link to comment Share on other sites More sharing options...
Developers Jos Posted February 4, 2023 Developers Share Posted February 4, 2023 (edited) 6 minutes ago, bn1z said: I want, the key in the registry has a " at the beginning and at the end, how do I fix my code? Just put them there? RegWrite('HKCR\com.epicgames.launcher\shell\open\command', '','REG_SZ', '"' & $PATH & '\Epic Games\Launcher\Portal\Binaries\Win64\EpicGamesLauncher.exe" "%1"') PS: Be sure you read our forum rules in relation to game automation. Edited February 4, 2023 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bn1z Posted February 4, 2023 Author Share Posted February 4, 2023 1 hour ago, Jos said: Just put them there? RegWrite('HKCR\com.epicgames.launcher\shell\open\command', '','REG_SZ', '"' & $PATH & '\Epic Games\Launcher\Portal\Binaries\Win64\EpicGamesLauncher.exe" "%1"') PS: Be sure you read our forum rules in relation to game automation. Thank you sir! I have solved my problem with your suggestion. My post violates the rules, so you can delete or edit it to fit the forum's rules! Once again, thank you for your reply Link to comment Share on other sites More sharing options...
Developers Jos Posted February 4, 2023 Developers Share Posted February 4, 2023 It isn't in violation as this topic is still open, just wanted to make you aware of our rules. SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
bn1z Posted February 4, 2023 Author Share Posted February 4, 2023 I have read, and understood the rules, thank you for letting me know! 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