Dear Mark,
Your code using a with constant date works good , but when using with a variable(what i need) does't.
I don´t know if is the way i tell the CMD.EXE to use the variable(NewDate)...
Trying to use your code, i have the following situation,
message from teh CMD.EXE window...
No, I'm not in a domain. In this case my computers are stand alone and what I want to do is: In any time change Win XP date to the date eg:12/22/2008 and then change it back to actual date eg:12/29/2008. This by VBScript`cause I have a batch that does that. Strange I have a bat(from a OS(DOS) 25...
I have a bat file that already does a job: changes Win XP date. I've been seeking in the internet for a script to change windows date by vbscript. Somebody can help?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.