1@echo off
2
3set PDC_RESTORE_SCREEN=1
4rem set WCDHOME=%HOMEDRIVE%%HOMEPATH%
5rem set LANG=nl_NL
6rem set LANGUAGE=nl
7rem set WCDLOCALEDIR=c:/Program Files/wcd/share/locale
8rem set WCDSCAN=c:;d:
9
10rem Define WCDHOME when WCDHOME and HOME are both not defined,
11rem because on Windows Vista and up users are not allowed to
12rem create files in the root directory of the system partition.
13IF NOT DEFINED WCDHOME (
14  IF NOT DEFINED HOME (
15    set WCDHOME=%HOMEDRIVE%%HOMEPATH%
16  )
17)
18
19wcdwin64.exe %*
20
21IF DEFINED WCDHOME (
22 "%WCDHOME%\wcdgo.bat"
23) ELSE (
24  IF DEFINED HOME (
25    "%HOME%\wcdgo.bat"
26  ) ELSE (
27    c:\wcdgo.bat
28  )
29)
30
31