LinkBack (1) Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 20-May-2009, 03:28 AM
Junior Member
 
Join Date: Apr 2008
Posts: 6
jimyo 0 reputation points
Default Re: login line for a ip range

Not sure if you've had a response yet buy this is what I do...

REM Set environment variables to identify network location
SET NET_ADDR="%NETWORK_ADDRESS">>2
SET NET_ADDR="%<NET_ADDR>"<<4
IF "%<NET_ADDR>"="04" THEN
do stuff...

Basically %NETWORK_ADDRESS will return the hex value of the ipaddress of the workstation, I'm using class C addresses so I need to strip off the last octet (using shift >> 2) and first two octets (<<4) to leave my variable NET_ADDR with just the third, in the example above this is subnet 04 - as I said, this is a hex value so you will need to convert or put "write "%NETWORK_ADRRESS" " in your login script to identify yours - hopefully it will make sense then.

Originally Posted by hbiemans View Post
I want to make a mapping only for a ip-range. How can i do this in a loginscript?

Thanks for your answers

Henk
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


LinkBacks (?)
LinkBack to this Thread: http://forums.novell.com/novell-product-support-forums/zenworks/desktop-management/zw-desktop-management-6x/zdm6-imaging/228916-convert-image-gho-zmg.html
Posted By For Type Date
convert gho to img - HooSeek - recherche Web This thread Refback 18-Jun-2008 08:13 AM


All times are GMT -6. The time now is 11:41 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2