Jump to content

big_orneau

Member
  • Posts

    7
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    France

Posts posted by big_orneau

  1. i use this one :

    @ECHO on

    net use W: \\172.20.5.251\partage /PERSISTENT:NO
    REM Set the variables for the sharename and the application directory
    SET wpipath=WPI
    SET drvlet=W:

    REM Write the app-path to the regsitry
    REG ADD HKLM\SOFTWARE\WPI /v SWPATH /t REG_EXPAND_SZ /d "%drvlet%" /f

    REM Determine the WPI startup path.
    SET wpipath=%drvlet%\%wpipath%

    REM Font installation - the smooth and customizable way.
    start "" /wait "%wpipath%\Tools\fonts\fontinstaller.exe"

    REM Force resolution to needed size for wpi interface.
    REM start "" /wait "%wpipath%\Tools\VideoChanger.exe 1024x768x32@85 -q"

    REM Special registry tweak needed.
    regedit /s "%wpipath%\common\wpi.reg"

    REM Make WPI directory the current directory.
    for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:
    cd "%wpipath%"

    REM Start WPI and wait for its end
    start /wait WPI.hta

    REM Delete the Key out of the registry
    REG DELETE HKLM\Software\WPI /f

    endlocal&goto :eof

×
×
  • Create New...