Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Postlogin

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I need to setup a postlogin. I wanted to copy something from a network drive to the local machine- does anyone have any ideas on how too? Thank you
 
The POSTLOGIN command can be issued from within a user profile only.

Lets say this is your profile :

!setSTDA HR.LAB.USA1 /NOALT
Set drive T: \\FS COMMON@SERVICES@HR.LAB.USA1
Set drive U: \\FS COMMON1@SERVICES@HR.LAB.USA1
Set drive X: \\FS COMMON2@SERVICES@HR.LAB.USA1

-- This is the line to add --
Postlogin X:\login\usalogin.bat
(this is the line to add .. changing the batch file location)

Now you can make the batch file look like this :

@Echo off
rem ********* Copying files from network *********

Copy x:\mcafee\sdat4196.exe c:\temp\download

rem ********* Execute file from network **********
Start x:\mcafee\sdat4196

@exit

Anyways hope this can help you out on a solution!
Mike


Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top