Jump to content
The simFlight Network Forums

FSUIPC7 Batch File Not Working


ark1320

Recommended Posts

John,

When I try to run the batch file to start MSFS and FSUIPC7 I get the below. I am using the latest Win10 OS.  MSFS was a standard MS store purchase.

Any ideas?

Thx,

Al

EDIT: Got the shortcut to work -- had to set it to Run as Administrator. Might be good to add that in the ReadMe file as something to try if necessary.

FSUIPC7Batch.png

Link to comment
Share on other sites

10 hours ago, ark1320 said:

Got the shortcut to work -- had to set it to Run as Administrator. Might be good to add that in the ReadMe file as something to try if necessary.

Ok, thanks. Strange error though - looks like your Path  isn't being set correctly (but it is for Admins). cmd.exe should be in c:\Windows\System32, which should be in your path....

Link to comment
Share on other sites

6 hours ago, John Dowson said:

Ok, thanks. Strange error though - looks like your Path  isn't being set correctly (but it is for Admins). cmd.exe should be in c:\Windows\System32, which should be in your path....

I wondered about the c:\Windows\System32 part of the path in the FSUIPC7 bat file because I had been using a short cut (posted in the AVSIM MSFS Forum) to start MSFS that uses the path      C:\Windows\System32\cmd.exe /C start shell:AppsFolder\Microsoft.FlightSimulator_8wekyb3d8bbwe!App -FastLaunch

However, as shown below, the path in the FSUIPC7 bat file starts with "just" cmd.exe. Perhaps that is OK, I just don't know.

Al

:: remove CMD window
if not DEFINED IS_MINIMIZED set IS_MINIMIZED=1 && start "" /min "%~dpnx0" %* && exit

:: MS Store Installation: start MSFS with FastLaunch
cmd.exe /C start shell:AppsFolder\Microsoft.FlightSimulator_8wekyb3d8bbwe!App -FastLaunch

 

Link to comment
Share on other sites

39 minutes ago, ark1320 said:

I wondered about the c:\Windows\System32 part of the path in the FSUIPC7 bat file because I had been using a short cut (posted in the AVSIM MSFS Forum)

I took the batch script from the MSFS forums (https://forums.flightsimulator.com/t/a-simple-splash-screen-after-starting-msfs/284716) - I wonder if its the same. However, that doesn't use the full path either. Really, that folder should be on the path so the cmd.exe is found, but I guess I can add the full path to make it more resilient.

In your case, you should definitely add it so that you don't need to run it as Admin.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.