Hello,
i want to know
how to create batch file that do the following:
(a).show system date and time,
(b).change the prompt to your name,
(c).show the contents of the subdirectory.
Configuration: Windows XP Internet Explorer 6.0
ok solution...
A) show date and time
copy this into notepad and rename it as xxx.bat
*********************<Do Not Include This Star>****************
@echo off
echo Date:%date%
echo Time:%time%
pause
*********************<Do Not Include This Star>****************
after u run the bat file you will see date and time inside cmd box.
or
u may want to make it as msg box, here the syntax.. same way copy and paste to notepad and rename it
to xxx.bat
*********************<Do Not Include This Star>****************
@echo off
msg * Date: %date% Time:%time%
exit
*********************<Do Not Include This Star>****************
after u run it,the msg box will appear and tells you about date and time.but not the cmd.
****************************************************************
B) change the prompt to your name,
sorry really don't understand what u mean by that. Pls be more specified .
****************************************************************
C) show the contents of the subdirectory.
sorry really don't understand what u mean by that. Pls be more specified .