• Creating a date-changing script?
    9 replies, posted
Hi, I would like to know if its possible to create a date-changing script. The script can be activated by launching a program, aka paint.exe It will change the date to a specified one, then afterwards change the date to back the current one. For instance if it is 20th May, the script will change the date to 25th May temporarily when paint.exe is launched, then change it back to 20th May. So how should I get about doing this? [editline]22nd May 2011[/editline] i guess it should probably be done in C++
I can think of so many legitimate uses for this program :allears:
yeah but does any such program currently exist?
[QUOTE=iamtroll;29986494]i guess it should probably be done in C++[/QUOTE] Actually, can be done with a simple batch script : [code]date 20/05/2011 paint.exe date 25/05/2011[/code] (note : it may be [i]date 05/20/2011[/i] instead of [i]date 20/05/2011[/i] depending of your OS settings)
There is a program called 'RunAsDate' which does exactly this. [editline]22nd May 2011[/editline] [url]http://www.nirsoft.net/utils/run_as_date.html[/url]
Imagiane this with CIH The evil...
Haha, I asked this same question on here about 3 years ago. I wrote my own in vb. Don't know if it works on anything other than xp. If you want, I can hunt it down and upload it.
[QUOTE=Bloodclaw;29987663]Actually, can be done with a simple batch script : [code]date 20/05/2011 paint.exe date 25/05/2011[/code] (note : it may be [i]date 05/20/2011[/i] instead of [i]date 20/05/2011[/i] depending of your OS settings)[/QUOTE] i wrote one of these in my graphics communication's class freshman year so I could turn in work late, claiming he just didn't get around to checking it. [editline]24th May 2011[/editline] only difference is I didn't write it [editline]24th May 2011[/editline] because I don't know programming :(
[QUOTE=TheChantzGuy;30032613]i wrote one of these in my graphics communication's class freshman year so I could turn in work late, claiming he just didn't get around to checking it. [editline]24th May 2011[/editline] only difference is I didn't write it [editline]24th May 2011[/editline] because I don't know programming :([/QUOTE] How is this possible?
[QUOTE=ManningQB18;29989039]There is a program called 'RunAsDate' which does exactly this. [editline]22nd May 2011[/editline] [url]http://www.nirsoft.net/utils/run_as_date.html[/url][/QUOTE] I'll vouch for this program. Works every time.
Sorry, you need to Log In to post a reply to this thread.