LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-Nov-2009, 04:23 AM
Junior Member
 
Join Date: Nov 2009
Posts: 7
andya79 0 reputation points
Default Execute an .exe file through a login script???

Hello,

Can somebody help me???

I want to execute an executable by IP range at login of a user.
I've created the next login script:

IF NETWORK_ADDRESS > "0A0C6400" AND NETWORK_ADDRESS < "0A0C64FF" THEN
@\\aoc-fs1\data\Login\wsname\Twello\wsname.exe /RDF:"\\aoc-fs1\data\Login\wsname\Twello\pcname.txt" /DFK:$MAC /WG:AOC-OOST.NL

IF NETWORK_ADDRESS > "0A0E6400" AND NETWORK_ADDRESS < "0A0EFFFF" THEN
@\\aoc-fs1\data\Login\Wsname\Almelo\wsname.exe /RDF:"\\aoc-fs1\data\Login\Wsname\Almelo\pcname.txt" /DFK:$MAC /WG:AOC-OOST.NL

IF NETWORK_ADDRESS > "0A0D6400" AND NETWORK_ADDRESS < "0A0D64FF" THEN
@ \\aoc-fs1\data\Login\wsname\Borculo\wsname.exe /RDF:"\\aoc-fs1\data\Login\wsname\Borculo\pcname.txt" /DFK:%MAC /WG:AOC-OOST.NL

IF NETWORK_ADDRESS > "0A0B6400" AND NETWORK_ADDRESS < "0A0BFFFF" THEN
@ \\aoc-fs1\data\Login\wsname\Doetinchem\wsname.exe /RDF:"\\aoc-fs1\data\Login\wsname\Doetinchem\pcname.txt" /DFK:%MAC /WG:AOC-OOST.NL

IF NETWORK_ADDRESS > "0A0F6400" AND NETWORK_ADDRESS < " 0A0F64FF" THEN
include \\aoc-fs1\data\login\wsname\enschede\wsname.txt
END



I've tested the IF.....THEN command and this works fine, but the command for executing doesn't.
The application won't start.
Have I written something wrong or is something missing in my script???
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



All times are GMT -6. The time now is 01:56 AM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2