• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

ETO - I believe I have found a fix for all the batch files

P38man

Charter Member 2011
I am at work and while haven't tested I already believe this is the solution.

When you run a batch file as administrator under windows vista and above the current directory gets set to C:\windows\system32. This can prevent your scripts from working correctly if you use relative paths.

Note - if UAC is on.

To fix this problem, include these two lines at the top of your .bat script for each BAT file.

@setlocal enableextensions
@cd /d "%~dp0"

references:
https://www.codeproject.com/Tips/119828/Running-a-bat-file-as-administrator-Correcting-cur
https://stackoverflow.com/questions...rectory-in-windows-batch-file/8669636#8669636

Examples of issues (if you don't do this, should also have trouble changing eras et al):
http://www.sim-outhouse.com/sohforums/showthread.php/118327-Error-message-quot-h75a3-quot-after-reinstalling-ETO
http://www.sim-outhouse.com/sohforums/showthread.php/66446-Installation-guides-for-ETO-and-Rising-Sun/page3


Now to get on to test the wonderful Arado 234 and Focke Wulf 190 and others here :applause:


 
Last edited:
This works for me. Nice find P38man! I was always having to run a regedit file I made to turn UAC on and off. Great to be able to switch eras easily now. Thanks!
 
Awesome!

=========posted in other thread but putting here as well ===================

There is actually more complexity here which is why there is such a variance in behaviour.

Additionally:
- depends upon running as admin
- depends on your notify UAC setting upon changes.
- depends upon your current windows explorer directory

Reference for this additional:
https://stackoverflow.com/questions/...rrent-director

Therefore I recommend everyone make the 2 line changes :)
 
Back
Top