Showing posts with label CMD. Show all posts
Showing posts with label CMD. Show all posts

Thursday, April 10, 2014

DOS: Trick to change system date fast

Due to the testing of my scheduler system, I have to continuously switch between different dates on my system. It is really not efficient to have to go to the "Date and Time Setting" every time I need to change the date.

I try to explore the window command prompt and realised how easily I could change the date on the Window in less than a sec.

Type below in Command Prompt to change date:
date dd-mm-yyyy

Wednesday, July 24, 2013

CMD: Useful command string

To kill a process/executable:

taskkill /F /IM application_name.exe

/F - force kill
/IM - imagename

To start a service:

net start /im service_name