Modifying the system date with VBScript 
Author Message
 Modifying the system date with VBScript

Is there a way to modify the system date  of the computer with VBScript?
Im looking for a script that works with the "Windows Scripting Host" of
Win98 and that
1. saves the current system date of the computer, then
2. sets the system date to a specific date, (e.g. "17.12.1998") and finally
3. restores the current system date.

DaK
--



Sun, 10 Jun 2001 03:00:00 GMT  
 Modifying the system date with VBScript
look at The WScript.Shell.Run(time hh:mm:ss)

Quote:

>Is there a way to modify the system date  of the computer with vbscript?
>Im looking for a script that works with the "Windows Scripting Host" of
>Win98 and that
>1. saves the current system date of the computer, then
>2. sets the system date to a specific date, (e.g. "17.12.1998") and finally
>3. restores the current system date.

>DaK
>--


begin 666 BJ Freeman.vcf
M0D5'24XZ5D-!4D0-"E9%4E-)3TXZ,BXQ#0I..D9R965M86X[0DH-"D9..D)*
M($9R965M86X-"D%$4CM73U)+.T5.0T]$24Y'/5%53U1%1"U04DE.5$%"3$4Z

M.U=!.SDX-#8W.U5N:71E9"!3=&%T97,-"DQ!0D5,.U=/4DL[14Y#3T1)3D<]



M04E,.U!2148[24Y415).150Z8F9R965 9G)E92UM86XN8V]M#0I2158Z,3DY

`
end


Wed, 13 Jun 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. File modified date with vbscript

2. data's modified date as update's date

3. Modifying the Last Modified Date and Time

4. Using VBScript to change system date?

5. VBScript and System Dates

6. Getting system date (date format and seperator) from JScript

7. File Creat Date and Modified Date...

8. Using VBS to modify system registry

9. Modifying System Servicies on NT 4

10. sorry - news server went crazy - how do i modify a date field from asp

11. Change the Last Modify and Last Access date

12. Change File Modified Date

 

 
Powered by phpBB® Forum Software