Jump to content

Recommended Posts

Posted

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

 

 

 

Expand  

image.thumb.png.15981e1fea9e676e1de00fd87f050189.png

 

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

 

image.thumb.png.493ef31e5ea8c4ced82ccbf2431d1663.png

 

 


Sorry I have to use Google Translate

  • Developers
Posted (edited)
  On 2/4/2023 at 7:08 AM, bn1z said:

I want, the key in the registry has a " at the beginning and at the end, how do I fix my code?

Expand  

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 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.
  :)

Posted
  On 2/4/2023 at 7:14 AM, 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.

Expand  

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...