digiarch.org  
 

NeighborhoodIdentifier



Introduction
As a mobile user, when you move your computer to a new location, you typically have to change settings like your default printer, network shares, etc. In some locations you want to synchronize files, make a backup or auto-start programs. NeighborhoodIdentifier enables you to pre-configure location profiles based upon the availability of a computer name, share, url, ip address etc. Next the profiles will be launched automatically at start-up. Specifically for Laptop users NI is a time saver.
 
Usage
  1. Create a new profile from the menu.
  2. Define a neighborhood identifier.
    You can use the name of a another computer like a server or an network share path that should exists. But you can also use an IP address or URL, the user name that should be logged on or a file path that should exist.
  3. Setup an action in a batch file or by directly calling a program to execute when the identifier can be found or not.
  4. There are many thinks you can tune at startup with lot's of useful utilities you can call from batch files. For some tips how to use NeighborhoodIdentifier to the max, see the links below.
Tips for usage and useful links
Set the default printer from a batch file with setdefaultprinter.exe by Thirdring software. (freeware)
http://www.thirdring.net/setdefaultprinter/index.htm

Synchronise files between two folders with mirror.exe from Dominik Jain. (freeware)
http://home.in.tum.de/~jain/software.php

Make registry changes from the command line with regfree.exe (freeware) .
http://www.jsiinc.com/SUBA/tip0100/rh0170.htm

Kill a process with process killer from Beyond Logic. (freeware)
http://www.beyondlogic.org/solutions/processutil/processutil.htm

NetSH from the Windows 2000, XP or 2003 resource kit can be used to change almost any network setting like IP address, gateway, etc from the command line.
http://www.win2000mag.com/Article/ArticleID/41111/Windows_41111.html

Command-line options
For automation purposes there are several command-line switches you can use:

-execute
-debug


The execute switch is used to start NI in silent mode and launch batch files or programs based on your profiles. This switch is automatically set by the program when launched with Windows is selected in the program settings. The debug switch creates a log file with information for debug purposes.

Example:
c:\program files\neighborhoodidentifier\ni.exe –execute -debug

Copyright  Digital Architects, All rights reserved.