Error - template LAYOUT-DATA-WRAPPER not found

A configuration error was detected in the CGI script; the LAYOUT-DATA-WRAPPER template could not be found.

Error - template STYLE-SHEET not found

A configuration error was detected in the CGI script; the STYLE-SHEET template could not be found.

Error - template SUB-TOP-BANNER not found

A configuration error was detected in the CGI script; the SUB-TOP-BANNER template could not be found.
Subject:
From:
Joe Trimarchi <[log in to unmask]>
Reply To:
PCSOFT - Personal Computer software discussion list <[log in to unmask]>
Date:
Mon, 14 Sep 1998 21:15:14 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (44 lines)
Joe,
A DOS shareware program called XSET can be found at the following address.
http://members.tripod.com/~marcstern/xset.htm
This will allow you to manipulate various variables and perform math from
within batch files. You could store a number in a text file then increment
the number and then append it to the filename. The following is an example:
        xset _Maxnumb = 9
        xset _Regdate date DDMMYY
        xset _Regnumb < _Regnumb.txt
        xset /math _Regnumb = %_Regnumb%+1
        if %_Regnumb%==%_Maxnumb% xset _Regnumb = 0
        echo %_Regnumb% > _Regnumb.txt
        xset _Regfile = %_Regdate%%_Regnumb%
Hope this helps,
Joe Trimarchi


-----Original Message-----
From: PCSOFT - Personal Computer software discussion list
[mailto:[log in to unmask]]On Behalf Of Joe Pearson
Sent: Monday, September 14, 1998 1:47 PM
To: [log in to unmask]
Subject: [PCSOFT] batch file - unique file name


Hi all
I want to create a new file in a DOS batch file.  How can I ensure the
filename is unique?

Adding the date to a file stub would be enough, like:
COPY EXISTING.FIL NEW%DATE%.FIL
but there does not seem to be any such environment variable.

(Long file names are fine.)

Thanks
Joe

                                  -----

                                  -----
        **Need help with PCSOFT mailing list? Send an Email to:**
        Bob Wright<[log in to unmask]> or Drew Dunn<[log in to unmask]>

ATOM RSS1 RSS2

LISTSERV.ICORS.ORG Secured by F-Secure Anti-Virus CataList Email List Search Powered by LISTSERV