81Views3Replies

Author Options:

Where is the time folder located? Answered

I wanted to make a batch file to tell the time and I wanted to know what is the exact location of the time folder thing. The clock is in the bottom right hand screen but what file actually controls that? If anyone could give me the location of the file for the clock for Windows 7 that would be great. Thanks!

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
lemonie
lemonie

Best Answer 11 years ago

There isn't a time folder, use the correct function. I'd suggest dostips.com

L

0
noobererer
noobererer

Answer 11 years ago

Ok Thank you very much.

0
Prof. Pickle
Prof. Pickle

8 years ago

There are 2 ways to make a batch file tell you the time:

1.
@echo %time% & pause>nul

2.
@setlocal enabledelayedexpansion time /T & pause>nul

Both will work fine.

As for the date, it's nearly exactly the same thing:

1.
@echo %date% & pause>nul

2.
@echo setlocal enabledelayedexpansion & date /T & pause>nul

I hope this helps.