The scene that is currently open will not be saved, use SaveSceneIfUserWantsTo for that.
All paths are relative to the project folder. Like: "Assets/MyScenes/MyScene.unity"
// Simple editor Script that lets you save a scene while in play mode. // WARNING: All Undo posibilities are lost after saving the scene.