Starting Celestia from command promt

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
fungun
Posts: 315
Joined: 30.07.2007
Age: 63
With us: 17 years 3 months
Location: Iowa, USA

Starting Celestia from command promt

Post #1by fungun » 12.09.2010, 17:18

I feel silly asking this, but I just don't get DOS commands.
I have gone through the forum and the users guide.
How do i get into edit mode?
I tried this "cd Celesta" and this "./Celestia--verbose> align.log", I even tried this "C:\Program Files\Celestia\Celestia.exe".
I keep getting errors or path not founds.
When I go to "Start" "All Programs" "Command Promt" I get the DOS window with this in it "C:\Documents and Settings\Tim>"
Don't where to go from there.
I am using Windows XP SP3

Thanks,
Tim

Guckytos
Posts: 439
Joined: 01.06.2004
With us: 20 years 5 months
Location: Germany

Re: Starting Celestia from command promt

Post #2by Guckytos » 12.09.2010, 18:31

fungun wrote:I feel silly asking this, but I just don't get DOS commands.
I have gone through the forum and the users guide.
How do i get into edit mode?
I tried this "cd Celesta" and this "./Celestia--verbose> align.log", I even tried this "C:\Program Files\Celestia\Celestia.exe".
I keep getting errors or path not founds.
When I go to "Start" "All Programs" "Command Promt" I get the DOS window with this in it "C:\Documents and Settings\Tim>"
Don't where to go from there.
I am using Windows XP SP3

Thanks,
Tim

Hi Tim,

I am not sure what you mean with "edit mode". What do you want to do with Celestia?

DOS is lovely :lol: A long time ago I had real fun making all kinds of batch programs to make life easier.

Now back to your question:
First of all you have to know where Celestia is stored.
If it is "C:\Program Files\Celestia\Celestia.exe" then you have to open the "Command Prompt" and then enter "cd C:\Program Files\Celestia" to get into the right folder.
Now that you are in the folder you can call up Celestia with all the needed arguments, i.e. "Celestia--verbose> align.log" (of course only if Celestia understands those arguments).
But these commands are not stored anywhere, they are just executed once.
If you want to repeat the commands you have to write a batch file "*.bat" (with any text editor and store it where you need it)

Regards,

Guckytos

Avatar
selden
Developer
Posts: 10192
Joined: 04.09.2002
With us: 22 years 2 months
Location: NY, USA

Re: Starting Celestia from command promt

Post #3by selden » 12.09.2010, 23:20

Maybe it's just the way you transferred the command into the forum window, but...
I see no spaces separating the qualifiers in what's shown above. Spaces are required as delimiters between the "atoms" so that Celestia's command scanner can properly interpret what you've typed. In my example below, I'll use a % to indicate where a space is required.

Code: Select all

.\celestia % --verbose % > % align.log

Actually, the space between > and align.log is optional.
Selden

Topic author
fungun
Posts: 315
Joined: 30.07.2007
Age: 63
With us: 17 years 3 months
Location: Iowa, USA

Re: Starting Celestia from command promt

Post #4by fungun » 13.09.2010, 00:56

Thanks guys, got it :D

Tim


Return to “Help Central”