So, thinking out loud here. I want to know if there is a way to contain a list within a script running.
For example, I have a script that changes an admin password on all systems in my OU based on a list of computer names. The VBScript changes the password on each machine grabing the machine name(s) from a seperate text file called "whatever_you_want_to_call_it.txt".
What if there is a way to place a list inside the vbscript itself and then have the vbscript read itself; therefore, eleviating the need for a second file (the "whatever_you_want_to_call_it.txt").
Just a thought and curious what your thoughts might be. I plan to engineer a way to do this easily in the days to come - if it is possible.
Any thoughts/suggestions?
V/r,
SPC Key
United States Army
For example, I have a script that changes an admin password on all systems in my OU based on a list of computer names. The VBScript changes the password on each machine grabing the machine name(s) from a seperate text file called "whatever_you_want_to_call_it.txt".
What if there is a way to place a list inside the vbscript itself and then have the vbscript read itself; therefore, eleviating the need for a second file (the "whatever_you_want_to_call_it.txt").
Just a thought and curious what your thoughts might be. I plan to engineer a way to do this easily in the days to come - if it is possible.
Any thoughts/suggestions?
V/r,
SPC Key
United States Army