Command execution

  • Thread starter Thread starter soheil
  • Start date Start date
S

soheil

How can I execute a dos command by login script? I mean when a user logs on
the system must execute a command like regedit or launch a *.reg file.
Thanks
 
regedt32 /s regfile.reg
easier to do this via zenworks however, it will deploy apps/registry entry
changes/ini changes/etc.

and yes, you DO have zenworks -

zenworks for desktops 2.0 starter pack - it is completely legally
free, & is what many of us use, even in a xppro environment

using zenworks for desktops (even 2.0 startpack for free out on the
internet - search for zspenu.exe, about 23mb, keep in mind 4.x is the
current version out & 2.0 is eol, so there is no "new" support for it,
however for xp/2k dlu it will work fine) "DLU" that will keep local
passwords synced & managed for nds for the workstations, and no more having
to create them manually.

In order for it to work, you have to make sure the DLU user policy is setup
&
associated correctly, & you have to make sure the latest nwclient is
installed with the "workstation manager" component configured to the correct
tree name. The easiest way to do this for your entire organization would be
through ACU (automatic client update).
http://www.appdeploy.com/packages/detail.asp?id=108
 
Actually you'll need to prepend an external command with either @ or #, for
example:

@%<WinDir>\NALDesk.exe

will launch NALDesk.exe from the folder in the %WinDir% environment
variable, and immediately return.
# will do the same, except it will wait for the application to exit before
the login script continues.

For more, refer to the NDS/eDirectory or NetWare documentation (for the
version of the products you are using) on www.novell.com

-Sandy
 
Back
Top