Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Name: wong Date: April 3, 2001 at 08:37:39 Pacific
Reply:
date /t
0
Response Number 2
Name: domenico Date: April 3, 2001 at 08:50:57 Pacific
Reply:
Wong, thanks for the answer. in fact I need to copy a file with actual date ex: copy test.txt test%date%/.txt. This works on Win2000 and not in NT4 Any Idea?
0
Response Number 3
Name: Dr. Zhivago Date: April 4, 2001 at 02:59:37 Pacific
Reply:
C:\>Time
Works for me on NT Workstation 4.0
0
Response Number 4
Name: Dr. Zhivago Date: April 4, 2001 at 03:47:37 Pacific
Reply:
As does Wong's
C:\Date /t
What you're saying is that you want to write some source code that reads the date when the compiled file is executed, right?
And C is your programming language?
0
Response Number 5
Name: domenico Date: April 4, 2001 at 07:33:45 Pacific
Reply:
In fact evrery day I save a file test.txt to test04.04.2001.txt (04.04.2001 is the date of the day). With w2000 it works well with this command: c:\> copy c:\test.txt c:\test%date:~-10%.txt
With NT4 I have found only this workaround c:\> @echo off c:\> echo @echo off >date.bat c:\> echo. |date>>date.bat c:\> echo @echo off > la.bat c:\> echo set currdate=%%7 >> la.bat c:\> call date.bat c:\> @del date.bat c:\> @del la.bat c:\> copy c:\test.txt c:\test%currdate:~0,10%.txt c:\> set currdate=
Summary: Well, if nothing else, you should be able to find it listed in the BIOS settings. You get into the BIOS by pressing a key, or key combination, during the very early phase of bootup. Common entry key...
Summary: I would like to know how to disable a TCP port in NT 4.00 The ports that are not in use by any programs, must be closed. How can I do this in NT 4.00 ? Lamy ...