I did the things you updated in the code, but it still will not display the ? $server. Any ideas?

 Code:
Break on

;Setting up the different variables
Global $Server
Dim $Debug

$Location = '\\server3\apps\newcomputer\location.kix'

Call $Location

? "What server am i pulling applciations from?"
? $Server


 Code:
Break on
$y=SubStr( @IPADDRESS0, 1, 11)
     Select
       Case $y=" 10.111.  1"
	   $Server = 'server11'
       Case $y=" 10. 11.100"
	   $Server = 'server1'
      Case 1
	   $server = 'server3'
End select


Edited by Tesdall (2011-02-07 05:56 PM)
_________________________
Where ever you go, there you are.