SQLScholar
Programmer
hey all,
I have a vbs file which will be a script to run on start up of a PC.
I am currently testing it on a small selection using PSEXEC.
All is working ok - except one little issue.
It sometimes hasnt been working. So i put in logging into the script to see where its getting to and some vairables\consts.
I am changing a const on the script - but it seems that sometimes a PC uses a past script. Example:
Version 3 is run on the PCs. All 5 Pc`s suceed - log files fine.
Version is incremented to 4. This means that all PC`s with the reg entry for 3 should run it.
Some PC`s work. Other PC`s say that the reg value is 3 and the script is 3. This would be the old script not the new one.
Its as if its caching the script.
Does anyone know if this is something vbscripts do? Or maybe something done by PSexec?
Any help much appreciated.
Dan
----------------------------------------
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Dr. Seuss
Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------
I have a vbs file which will be a script to run on start up of a PC.
I am currently testing it on a small selection using PSEXEC.
All is working ok - except one little issue.
It sometimes hasnt been working. So i put in logging into the script to see where its getting to and some vairables\consts.
I am changing a const on the script - but it seems that sometimes a PC uses a past script. Example:
Version 3 is run on the PCs. All 5 Pc`s suceed - log files fine.
Version is incremented to 4. This means that all PC`s with the reg entry for 3 should run it.
Some PC`s work. Other PC`s say that the reg value is 3 and the script is 3. This would be the old script not the new one.
Its as if its caching the script.
Does anyone know if this is something vbscripts do? Or maybe something done by PSexec?
Any help much appreciated.
Dan
----------------------------------------
Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind - Dr. Seuss
Computer Science is no more about computers than astronomy is about telescopes - EW Dijkstra
----------------------------------------