titaniumx5
MIS
Here is the problem - I need to be able to to turn on a machine, upon boot a variable will be set (i.e. let's say a text.txt file is created that includes a line that states what kind of functionality this workstation will have).
example - Text.txt (contents of file is 1 line "HR"
this file says this is a human resource machine, therfore it should auto-logon with the "HR" logon ID.
I got the autologon part of the VBscript down, the problem is I don't know how to tell it to read the file, and, based on the contents proceed to call another VBscript that will create an autologon for the HR ID upon reboot.
And one other thing - if upon checking the variable, if it finds that it is something that doesn't have a script associated to it, it must call a default script.
Make sense?
Please help!
example - Text.txt (contents of file is 1 line "HR"
this file says this is a human resource machine, therfore it should auto-logon with the "HR" logon ID.
I got the autologon part of the VBscript down, the problem is I don't know how to tell it to read the file, and, based on the contents proceed to call another VBscript that will create an autologon for the HR ID upon reboot.
And one other thing - if upon checking the variable, if it finds that it is something that doesn't have a script associated to it, it must call a default script.
Make sense?
Please help!