5 $url = "$ENV{PROTO}://$ENV{HTTP_HOST}";
6 $fi = 'fexitinstaller.cmd';
7 $fe = 'http://fex.belwue.de/download/fexit.exe';
8 $ps = '%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe';
10 mkdir "%USERPROFILE%\\fex"
11 cd "%USERPROFILE%\\fex"
17 cd "%USERPROFILE%\\Desktop"
18 $ps -command "& { (New-Object Net.WebClient).DownloadFile('$fe','fexit.exe') }"
19 \@explorer "%USERPROFILE%\\Desktop"
20 \@set /p x="press [ENTER]"
24 if (chdir "$spooldir/$user" and open $fi,'>',$fi) {
27 system "$FEXHOME/bin/fexsend ".
28 "-oKq -C 'fexit for your Windows desktop' $fi $user >/dev/null";
31 print "<h3>A fexit installer has been sent to you. Check your email.</h3>\n";