Programm in Vista oder Windows7 im Kompatibilitätsmodus starten

  • Hallo Gemeinde,
    möchte ein Script erstellen mit dem ein bestimmtes Programm in Windows7 oder Vista der Kompatibilitätsmodus gleich festgelegt wird. Gibt es da irgendwo schon Ansätze? Kann man das mit runAs hinbekommen?

  • Vielleicht musst du irgendwas mit der cmd.exe machen.

    Zitat

    Windows sees that as localhost as well. I found a CMD level command that *hopefully* does it for me.

    set __COMPAT_LAYER=Win98 ;;Sets Compatibility Mode to Windows 98
    ;Run Command
    set __COMPAT_LAYER= ;;Removes Compatibility Mode

    http://www.autoitscript.com/forum/index.php?showtopic=10375

    Ich habe das hier gefunden:
    http://support.microsoft.com/kb/286705
    Das sollte Abhilfe verschaffen.

    Edit:
    Du musst eine .bat erstellen und als Inhalt:

    Code
    set __COMPAT_LAYER=Win95
    C:\Programme\MyDirection\MyFolder\MyFile.exe


    Diese .bat rufst du dann im Script auf.

    Viele Grüße,
    HopFail

    Einmal editiert, zuletzt von HopFail (31. Mai 2010 um 21:51)