Page 1 of 2 1 2 LastLast
Results 1 to 10 of 13

Thread: How to start FSX Steam from a batch file?

  1. #1

    Default How to start FSX Steam from a batch file?

    Can you provide a sample of one or two lines; or a link to a sample? Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    Las Vegas, Nv, USA.
    Posts
    4,409
    Blog Entries
    1

    Default

    Huh?
    Dell XPS X8300 Intel core i7-2600(3.4 GHZ,8 MB Cache) 8 GB memory 1.5 TB HDD 2 GB Nvidia 1050 ti graphics card Windows 7

  3. #3

    Default

    Batch file "example.bat" containing this single line does not work.

    steam://rungameid/314160

  4. Default

    start d:\path to fsx\fsx.exe

  5. #5

    Default

    Quote Originally Posted by Enko View Post
    start d:\path to fsx\fsx.exe
    The Steam client does not load on that.

  6. Default

    These examples are for Disk version of FSX in a standard install location.
    Use your own install paths instead.
    Don't forget the "quotes" around the paths.

    A batch file that only starts FSX:
    Code:
    @echo off
    cd "C:\Program Files (x68)\Microsoft Flight Simulator X"
    start fsx.exe
    
    exit

    And one that starts both FSX and FSRealWX-Lite:
    Code:
    @echo off
    cd "C:\Program Files (x68)\Microsoft Flight Simulator X"
    start fsx.exe
    
    cd "C:\Program Files (x86)\FSrealWX"
    start FSrealWX.exe
    
    exit
    Enjoy!
    il.

  7. #7

    Default

    Quote Originally Posted by il88pp View Post
    These examples are for Disk version of FSX in a standard install location.
    Use your own install paths instead.
    Don't forget the "quotes" around the paths.

    A batch file that only starts FSX:
    Code:
    @echo off
    cd "C:\Program Files (x68)\Microsoft Flight Simulator X"
    start fsx.exe
    
    exit

    And one that starts both FSX and FSRealWX-Lite:
    Code:
    @echo off
    cd "C:\Program Files (x68)\Microsoft Flight Simulator X"
    start fsx.exe
    
    cd "C:\Program Files (x86)\FSrealWX"
    start FSrealWX.exe
    
    exit
    Enjoy!
    il.
    Thanks. But the question was for the Steam edition.

    Btw, an alternative to your solution is to launch it from EXE.XML.

  8. #8
    Join Date
    Feb 2014
    Location
    Klammath Falls, OR
    Posts
    4,061

    Default

    Thanks. But the question was for the Steam edition.
    OK, then, how about:

    @echo off
    D:
    cd \steam\steamapps\common\FSX
    FSX

    exit

    Please note, the two lines that read

    D:
    cd \steam\steamapps\common\FSX

    Are dependant on where YOUR FSX.exe file is located. Is it on your F: drive? Change the first line I referenced to F: .

    The line cd \steam\steamapps\common\FSX is dependant on the actual location under the main drive letter you designated. MINE is where shown, on my D: drive.

    I don't know if the batch file commands have changed since I used them in DOS so much, but I never needed the quotes around the cd \ line. If they've changed now to require them, well then, put them in as shown in post #6.

    Also, in the line that reads "start FSX" : I never used the start command. I just put in the EXE file I wanted to run. As long as it was in the subdirectory I specified in the "cd " line, it ran. It' as though YOU typed in all the commands, but they run automatically when in a batch file (*.bat). If they've changed it to require the "start" command, then use it. It's a simple change

    All you have to do is tell the computer exactly where the FSX.exe file is located, that's the key.

    Finally, to autostart FSRealWX lite, I use the EXE.xml file that FSX utilizes. Just easier for me, is all. You can use the same batch file to call the FSRealWX lite exe file if you want. Same rules apply as with starting FSX.
    Simple, No?

    I meant to mention: If your Steam client doesn't load when you start Windows, which you can set it to do, then just use the batch file to fire it up before you start FSX itself.
    Mine starts with Windoze, so that I can fire FSX up more quickly and easily. I don't have to wait for it to start. I'm just lazy, is all.

    There is a very good guide to batch file located HERE
    Good luck to you!
    Pat☺

    Had a thought...then there was the smell of something burning, and sparks, and then a big fire, and then the lights went out! I guess I better not do that again!
    Sgt, USMC, 10 years proud service, Inactive reserve now

  9. Default

    Quote Originally Posted by nrios View Post
    Thanks. But the question was for the Steam edition.
    I know, that's why I said:
    Quote Originally Posted by il88pp View Post
    These examples ....
    Use your own install paths instead.
    Don't forget the "quotes" around the paths.

    Quote Originally Posted by nrios View Post
    Btw, an alternative to your solution is to launch it from EXE.XML.
    Huh?
    I know about the EXE.xml file. But what you asked for was a Batch file remember...

  10. #10
    Join Date
    Feb 2014
    Location
    Klammath Falls, OR
    Posts
    4,061

    Default

    Huh?
    I know about the EXE.xml file. But what you asked for was a Batch file remember...
    I figgered, I was just offering a possible alternative (wow! two big words in a row, and at this time of day!) to using a batch file.
    Nothing wrong with alternatives to a single way of doing something

    Have fun!
    Pat☺

    Had a thought...then there was the smell of something burning, and sparks, and then a big fire, and then the lights went out! I guess I better not do that again!
    Sgt, USMC, 10 years proud service, Inactive reserve now

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Replies: 5
    Last Post: 10-15-2013, 10:02 PM
  2. Replies: 4
    Last Post: 02-10-2013, 05:31 AM
  3. Help needed with batch file
    By cloudflyer in forum FS2004
    Replies: 1
    Last Post: 04-25-2008, 03:41 AM
  4. running a batch file on another computer over the network
    By fatcharlie in forum Cockpit Builders
    Replies: 3
    Last Post: 04-09-2006, 11:37 PM
  5. Replies: 4
    Last Post: 08-13-2003, 12:56 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •