A update
Kixtart script first
code:
; Script begins
cls
COLOR w+/b
; Ta bort startbara filer
SHELL "a:\COMMAND.COM /C del a:\net\net.exe"
SHELL "a:\COMMAND.COM /C del a:\autoexec.bat >nul"
flushkb
? "My Macaddress = @address"
sleep 10
IF Open( 3 , "T:\movex.txt" ) = 0
$x = ReadLine( 3 )
WHILE @ERROR = 0
IF $x = "@address"
:movex
? "MacAddress Match, starting Movex"
sleep 2
run "t:\runapp.bat movex"
exit
quit
ENDIF
$x = ReadLine( 3 )
LOOP
ENDIF
:desktop
? "No Match, starting Desktop"
run "t:\runapp.bat desktop"
exit
quit
:END
exit
quit
the "run..." sends variable to runapp.bat
code:
@echo off
:START
cls
Echo Logging in to %1...
Echo.
@echo off
t:
cd wfclient
vsl >nul
t:\wfclient\wfclient.exe %1
goto START
:END
Jack, do you mean something like:
Content of movex.txt
*
movex00D0B768A5DB
ie03424331233
*
Please explain
\regards
erik