Reset SA password from Command Promt with OSQL

If SQL server is installed without an instance:
Start command promt as administrator and type the following:
osql -E
If SQL server is installed with an instance (IE. SQLExpress):
Start command promt as administrator and type the following:
osql -S (local)\SQLExpress -E
Then the following command:
sp_password NULL,’nytt passord’,’SA’
GO