Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

comp.os.msdos.programmer FAQ part 3/5
Section - - How can I copy files to or from filenames containing date information?

( Part1 - Part2 - Part3 - Part4 - Part5 - Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Neighborhoods ]


Top Document: comp.os.msdos.programmer FAQ part 3/5
Previous Document: - Where can I find information about the ATA/ATAPI specification?
Next Document: Section 6. Serial ports (COM ports)
See reader questions & answers on this topic! - Help others by sharing your knowledge
Date: 7 Feb 2002 14:26:15 -0400

 You can use the NOWMINUS program. This program creates environment
 variables containing date and time information. See <Q:08.15> [How can I
 place date and time information into environment variables?] for more
 information.

 Here is an example of using NOWMINUS to rename the files thisweek.* to
 {lastweeksdate}.*:

        NOWMINUS d7 z7 f1 j0 vLASTWEEK
        ren thisweek.* %LASTWEEK%.*
        set LASTWEEK=

User Contributions:

1
Ben in Seattle
Jun 2, 2026 @ 4:16 pm
Another solution is to use a parallel port loopback plug. It makes the PC think there is a printer attached. The benefit of this is it doesn't require anticipating the problem with ANSI.SYS escape sequences nor does it make you wait half an hour for the "Abort, Retry, Ignore?" prompt, as some versions of DOS do.

Comment about this article, ask questions, or add new information about this topic:




Top Document: comp.os.msdos.programmer FAQ part 3/5
Previous Document: - Where can I find information about the ATA/ATAPI specification?
Next Document: Section 6. Serial ports (COM ports)

Part1 - Part2 - Part3 - Part4 - Part5 - Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
jeffrey@carlyle.org (Jeffrey Carlyle)





Last Update March 27 2014 @ 02:11 PM