-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
sc: update page #18726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
sc: update page #18726
Conversation
I tested this on a spare laptop. It seems that sc and sc.exe are two different commands. I'm not a windows user so I don't really know the difference |
What made you think they're different? What Windows version did you try? |
Windows 10. I ran |
Do you run it in powershell or cmd session? Can you post the output of the following (in
|
This seems to be a powershell thing. In cmd the commands are the same. I'll leave this up to people who know more about windows to decide. |
OK, I figured it out. There's an utility PS C:\Users\user> alias sc
CommandType Name Version Source
----------- ---- ------- ------
Alias sc -> Set-Content
PS C:\Users\user> $PSVersionTable.PSVersion
Major Minor Build Revision
----- ----- ----- --------
5 1 14409 1018 |
It looks like this powershell alias has been removed in recent versions: https://github.com/iridacea/test-win/actions/runs/18480749589/job/52654780128 |
common
,linux
,osx
,windows
,sunos
,android
, etc.This partially reverts 905f5f4. The part about
sc
was messed up a little bit. This command has all these subcommands (start, stop, create, delete) and many others, in fact. And there's no need to use the.exe
file extension in the command name.