5 $url = "$ENV{PROTO}://$ENV{HTTP_HOST}";
6 $fi = 'fexitinstaller.cmd';
7 $id = '%USERPROFILE%\\fex\\id';
8 $fe = 'http://fex.belwue.de/download/fexit.exe';
9 $fx = '%USERPROFILE%\\Desktop\\fexit.exe';
10 $ps = '%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe';
12 mkdir "%USERPROFILE%\\fex"
18 $ps -command "& { (New-Object Net.WebClient).DownloadFile('$fe','$fx') }"
19 setx PATH "%PATH%;%USERPROFILE%\\Desktop"
21 \@set /p x="See fexit on Desktop."
23 # \@explorer "%USERPROFILE%\\Desktop"
27 if (chdir "$::spooldir/$user" and open $fi,'>',$fi) {
30 system "$::FEXHOME/bin/fexsend ".
31 "-oKq -C 'fexit for your Windows desktop' $fi $user >/dev/null 2>&1";
34 print "<h3>A fexit installer has been sent to you. Check your email.</h3>\n";