Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hi!

 

I fell very dumb asking this question, but I'm not seeing what I'm doing wrong here!

 

I have a registered FSUIPC version 4.92 and I added the following lines to the ini file:

 

[Programs]
Run1=HIDE,”D:\Microsoft Flight Simulator X\Aero.bat”
 
Batch file content is only
net stop uxsms
net start uxsms
 
I thought that inbetween clicking fly now and finishing loading everything, the Windows Aero would load up again (the VSync stuff), but nothing is happening! :)
 
What am I doing wrong? This doesn't seems to be rocket science, but I'm missing it big time! 
 
Regards,
Daniel
Posted
I have a registered FSUIPC version 4.92 and I added the following lines to the ini file:

 

[Programs]
Run1=HIDE,”D:\Microsoft Flight Simulator X\Aero.bat”

 

I thought that inbetween clicking fly now and finishing loading everything, the Windows Aero would load up again (the VSync stuff), but nothing is happening! :)

 

No. FSUIPC will attempt to run that file when FSUIPC is first started, it won't wait for "Fly Now" -- the "READY" option delays until your sim is "ready to fly".

 

Did you check the log file to see if there was an error finding or running the file? Are you sure the path is correct, because if it cannot find it it cannot run it. Are you sure you did not but Aero.bat into the Modules filder?

 

Pete

Posted

Hello Pete.

 

Thank you for answering so fast, as usual!

 

I'm sure the path is the correct one.

 

I can see an error in the log, but I don't know the exact meaning, but the obvious FSUIPC couldn't run it

Here it is:

 

 234 FSUIPC couldn't run: "”D:\Microsoft Flight Simulator X\Aero.bat”" [Error=267]

Posted
I'm sure the path is the correct one.

 

I can see an error in the log, but I don't know the exact meaning, but the obvious FSUIPC couldn't run it

Here it is:

 

 234 FSUIPC couldn't run: "”D:\Microsoft Flight Simulator X\Aero.bat”" [Error=267]

 

You can look up Windows system error codes -- google "System Error Codes".

 

Error 267  shows that the path you provide is not correct.

ERROR_DIRECTORY
The directory name is invalid.
267 (0x10B) 

What I find odd in the error you are showing is the double sets of quotes "" at each end. Looking closely they look to be different character, in fact. If I try an invalid folder I get:

 

     23244 FSUIPC couldn't run: "E:\FSX\XModules\FSX2.BAT" [Error=267]

 

Single sets of quotes, not double.

 

I think that you are not using a text editor to edit the INI file and the quotes characters you are using are the Unicode different left and right quotes as used in Word Processing. I'm afraid only normal ASCII quotes work.

 

Regards

Pete

Posted

The problem was really the quotes. I edited the ini with the notepad, but had copied the code from the avsim forum and just changed the path to match mine, leaving the quotes as they were!

 

Now I typed the "normal" ones and it worked normally! 

 

Thank you Pete.

 

Regards,

Daniel

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.