I have coded '0' login scripts, but now must create one per my boss.

Simply stated, we have a file that we want to push down to each client.  We 
also want to allow the client 3 attempts at getting the file.  Reason being 
that a lot of them are over dial-up connections and the file is quite 
large.

My impression is something like this:

if file.1 exists then
   prompt user if they want it.
   if yes then
      copy file to client
   else
      rename file.1 to file.2
   end if
else
   if file.2 exists then
      prompt user if they want it.
      if yes then
         copy file to client
      else
         rename file.1 to file.2
      end if
   else
      if file.3 exists  then
         prompt user if they want it.
         if yes then
            copy file to client
         else
            rename file.1 to file.2
         end if
      else
         message to user that they must request the file.
      end if
   end if
end if


To me this makes sense, but how does one do this in a login-on script? 
 What script commands can be used to accomplish this?

http://www.sunbelt-software.com/ntsysadmin_list_charter.htm

Reply via email to