PROBLEM STATEMENT
I do most of my work in the command-line environment. In Windows, I start TextMaker sessions via the following batch file:
call start C:\"Program Files"\"SoftMaker Office 2018"\TextMaker.exe %1
The problem arises when I try to open two documents which are in two separate directories. I go to directory A and start a session with a document there, then I go to directory B and try to edit a file there. TextMaker automatically assumes that both files are in the same directory, and so it tells me that the second document is not found. In other words, it ignores my current directory.
I found an imperfect solution by modifying my batch file to include '%cd%', as follows:
call start /newwindow C:\"Program Files"\"SoftMaker Office 2018"\TextMaker.exe %cd%\%1
This works, unless I want to provide TextMaker a full path to the document to be edited. True, I can add some logic to use '%cd%' only when a full path is not provided, but I would prefer a more elegant solution.
SOLUTION TO ANOTHER PROBLEM
When I edit two documents, I need them both to be open in separate windows. However, by default they start in the same window with two tabs. When I start them from within TextMaker, I can click on 'New program window' to create two separate windows, but when I start them from the command line, as I normally do, they come up in the same window with two tabs.
I was able to circumvent this problem by adding '/newwindow' to my startup batch file, which now looks like this:
call start /newwindow C:\"Program Files"\"SoftMaker Office 2018"\TextMaker.exe %cd%\%1
If this solution has already been pointed out, I tip my hat to the original contributor.
Starting two documents from the command line
Post Reply
2 posts
• Page 1 of 1
Return to “TextMaker 2018 for Windows”
Jump to
- SoftMaker Office NX and 2024
- ↳ SoftMaker Office NX and 2024 for Windows
- ↳ SoftMaker Office NX and 2024 for Windows (General)
- ↳ TextMaker NX and 2024 for Windows
- ↳ PlanMaker NX and 2024 for Windows
- ↳ Presentations NX and 2024 for Windows
- ↳ BasicMaker NX and 2024 for Windows
- ↳ SoftMaker Office NX and 2024 for Mac
- ↳ SoftMaker Office NX and 2024 for Mac (General)
- ↳ TextMaker NX and 2024 for Mac
- ↳ PlanMaker NX and 2024 for Mac
- ↳ Presentations NX and 2024 for Mac
- ↳ SoftMaker Office NX and 2024 for Linux
- ↳ SoftMaker Office NX and 2024 for Linux (General)
- ↳ TextMaker NX and 2024 for Linux
- ↳ PlanMaker NX and 2024 for Linux
- ↳ Presentations NX and 2024 for Linux
- ↳ SoftMaker Office NX for iOS
- ↳ SoftMaker Office NX for iOS (General)
- ↳ TextMaker NX for iOS
- ↳ PlanMaker NX for iOS
- ↳ Presentations NX for iOS
- ↳ SoftMaker Office NX for Android
- ↳ SoftMaker Office NX for Android (General)
- ↳ TextMaker NX for Android
- ↳ PlanMaker NX for Android
- ↳ Presentations NX for Android
- SoftMaker Office 2021
- ↳ SoftMaker Office 2021 for Windows
- ↳ SoftMaker Office 2021 for Windows (General)
- ↳ TextMaker 2021 for Windows
- ↳ PlanMaker 2021 for Windows
- ↳ Presentations 2021 for Windows
- ↳ BasicMaker 2021 for Windows
- ↳ SoftMaker Office 2021 for Mac
- ↳ SoftMaker Office 2021 for Mac (General)
- ↳ TextMaker 2021 for Mac
- ↳ PlanMaker 2021 for Mac
- ↳ Presentations 2021 for Mac
- ↳ SoftMaker Office 2021 for Linux
- ↳ SoftMaker Office 2021 for Linux (General)
- ↳ TextMaker 2021 for Linux
- ↳ PlanMaker 2021 for Linux
- ↳ Presentations 2021 for Linux
- FreeOffice 2024
- ↳ FreeOffice 2024 for Windows
- ↳ FreeOffice 2024 for Windows (General)
- ↳ FreeOffice TextMaker 2024 for Windows
- ↳ FreeOffice PlanMaker 2024 for Windows
- ↳ FreeOffice Presentations 2024 for Windows
- ↳ FreeOffice 2024 for Mac
- ↳ FreeOffice 2024 for Mac (General)
- ↳ FreeOffice TextMaker 2024 for Mac
- ↳ FreeOffice PlanMaker 2024 for Mac
- ↳ FreeOffice Presentations 2024 for Mac
- ↳ FreeOffice 2024 for Linux
- ↳ FreeOffice 2024 for Linux (General)
- ↳ FreeOffice TextMaker 2024 for Linux
- ↳ FreeOffice PlanMaker 2024 for Linux
- ↳ FreeOffice Presentations 2024 for Linux
- ↳ FlexiPDF NX and 2025 for Windows
- ↳ FlexiPDF 2022
- ↳ FreePDF 2022
- Miscellaneous
- ↳ SoftMaker Fonts
- ↳ Water Cooler
- ↳ SoftMaker Office 2018 for Windows (General)
- ↳ TextMaker 2018 for Windows
- ↳ PlanMaker 2018 for Windows
- ↳ Presentations 2018 for Windows
- ↳ Thunderbird for Windows
- ↳ BasicMaker 2018 for Windows
- ↳ SoftMaker Office 2018 for Mac (General)
- ↳ TextMaker 2018 for Mac
- ↳ PlanMaker 2018 for Mac
- ↳ Presentations 2018 for Mac
- ↳ SoftMaker Office 2018 for Linux (General)
- ↳ TextMaker 2018 for Linux
- ↳ PlanMaker 2018 for Linux
- ↳ Presentations 2018 for Linux
- ↳ SoftMaker Office 2021 for Android
- ↳ SoftMaker Office 2021 for Android (General)
- ↳ TextMaker 2021 for Android
- ↳ PlanMaker 2021 for Android
- ↳ Presentations 2021 for Android
- ↳ SoftMaker Office 2021 for iOS
- ↳ General
- ↳ TextMaker 2021 for iOS
- ↳ PlanMaker 2021 for iOS
- ↳ Presentations 2021 for iOS
- ↳ FreeOffice 2021
- ↳ FreeOffice 2021 for Windows
- ↳ FreeOffice 2021 for Windows (General)
- ↳ FreeOffice TextMaker 2021 for Windows
- ↳ FreeOffice PlanMaker 2021 for Windows
- ↳ FreeOffice Presentations 2021 for Windows
- ↳ FreeOffice 2021 for Mac
- ↳ FreeOffice 2021 for Mac (General)
- ↳ FreeOffice TextMaker 2021 for Mac
- ↳ FreeOffice PlanMaker 2021 for Mac
- ↳ FreeOffice Presentations 2021 for Mac
- ↳ FreeOffice 2021 for Linux
- ↳ FreeOffice 2021 for Linux (General)
- ↳ FreeOffice TextMaker 2021 for Linux
- ↳ FreeOffice PlanMaker 2021 for Linux
- ↳ FreeOffice Presentations 2021 for Linux
- ↳ BETA SoftMaker Office 2024 for Windows
- ↳ BETA SoftMaker Office 2024 for Windows (general)
- ↳ BETA TextMaker 2024 for Windows
- ↳ BETA PlanMaker 2024 for Windows
- ↳ BETA Presentations 2024 for Windows
- ↳ BETA BasicMaker 2024 for Windows
- ↳ BETA SoftMaker Office 2024 for Mac
- ↳ BETA SoftMaker Office 2024 for Mac (general)
- ↳ BETA TextMaker 2024 for Mac
- ↳ BETA PlanMaker 2024 for Mac
- ↳ BETA Presentations 2024 for Mac
- ↳ BETA SoftMaker Office 2024 for Linux
- ↳ BETA SoftMaker Office 2024 for Linux (general)
- ↳ BETA TextMaker 2024 for Linux
- ↳ BETA PlanMaker 2024 for Linux
- ↳ BETA Presentations 2024 for Linux
- ↳ BETA SoftMaker Office NX for Android
- ↳ BETA SoftMaker Office NX for Android (general)
- ↳ BETA TextMaker NX for Android
- ↳ BETA PlanMaker NX for Android
- ↳ BETA Presentations NX for Android
- ↳ BETA SoftMaker Office NX for iOS
- ↳ BETA SoftMaker Office NX for iOS (general)
- ↳ BETA TextMaker NX for iOS
- ↳ BETA PlanMaker NX for iOS
- ↳ BETA Presentations NX for iOS