AT2k Design BBS Message Area
Casually read the BBS message area using an easy to use interface. Messages are categorized exactly like they are on the BBS. You may post new messages or reply to existing messages!

You are not logged in. Login here for full access privileges.

Previous Message | Next Message | Back to VBBS/VADV How-To  <--  <--- Return to Home Page
   Networked Database  VBBS/VADV How-To   [433 / 1099] RSS
 From   To   Subject   Date/Time 
Message   Steve Winn    Admiral Wilson   Renaming files with a date in bat file   June 27, 2007
 5:21 PM  

Re: Renaming files with a date in bat file

> How do I rename a file to something like todays date, 06272007.log inside a
> batch file?  I wish to archive my bbs logs into the file area with vupload.
>

I have a utility I use here called VBACKUP.EXE which backsup the cfg, dat and
log files. The filename it produces is the date of the backup. I don't think I
ever released this to the public, but you can grab it off the ftp server at
ftp://ftp.at2k.org/upload/vbackup.exe

This is a 16-bit DOS utility. Use at your own risk. The command line to run it
is: vbackup.exe [path to put file]

I'd run it at 11:59 each night (before midnight so the logs and everything are
still intact). Make whatever directory you choose accessible in the file area.
Then I'd use VFileSyn to upload it rather than VUpload.

Steve


--
[AT2k] -- Your VBBS/VADV Support Center -- [www.at2k.org] -- [bbs.at2k.org]
  Show ANSI Codes | Hide BBCodes | Show Color Codes | Hide Encoding | Hide HTML Tags | Show Routing
Previous Message | Next Message | Back to VBBS/VADV How-To  <--  <--- Return to Home Page

VADV-PHP
Execution Time: 0.0185 seconds

If you experience any problems with this website or need help, contact the webmaster.
VADV-PHP Copyright © 2002-2024 Steve Winn, Aspect Technologies. All Rights Reserved.
Virtual Advanced Copyright © 1995-1997 Roland De Graaf.
v2.1.241108