Skip to content
Discussion options

You must be logged in to vote

When creating shortcut, the properties that need editing are:
target of the shortcut is the command to execute
start in is the folder to execute the command in

Set your target to execute cmd prompt: C:\Windows\System32\cmd.exe; then add a flag; /k will keep the window open after exiting, /c will close the window after exiting. Then the script to execute; webui-user.bat. Finally, specify the folder where the target of the shortcut should begin.

target C:\Windows\System32\cmd.exe /c webui-user.bat
start in paste in the full path to the folder where webui-user.bat is
example start in: D:\stable-diffusion-webui

Without specifying a start in location, it's executing the command in the folder W…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Miraculix200
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@VeissieV
Comment options

@logan683
Comment options

Answer selected by VeissieV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants