Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Other Programming > Need help with your homework?
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Need help with your homework? Need help with a homework question on any programming language? Post questions and help here, not in the language topic forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Need help with your homework? section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old September 19th, 2006, 04:25 PM
Registered User
 
Join Date: Sep 2006
Location: Monterrey, Nuevo Leon, Mexico.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sagato
Default Add Date in Catalog Backup Script

Good day;

I have a file batch script that did a work partner who has gone away; I need to place as etiquette the date in which it is executed to take a better control, I am a beginner in this, I´m taking reading on this programming; I have tried it to place the value %Date% but it does not work. Could someone help? Thank you.

C:\WINNT\system32\ntbackup.exe backup "@C:\JobBKP\DIFSRV02-MR.bks" /n "DIF BKP SRV02-MR" /d "DIF BKP SRV02-MR" /n "DIF BKP SRV02-MR" /v:no /r:no /rs:no /hc:on /m differential /j "DIFBKPSRV02-MR" /l:s /p "DLT"

The name of the catalogue I suppose that it defines it "/n" and shows it in the reports of ntbackup.

I have tried forming in order that the catalogue stays of the following form:

DIF BKP SRV02-MR-20060912

But I have not had success. Could you help me please? Thanks!

I have tried forming in order that the catalogue stays of the following form:

DIF BKP SRV02-MR-20060912

But I have not had success. I continue browsing google.com for batch commands by adding date to catalogue ntbackup, I looking for the way to solve this need, And I do not find it, someone could help with some track? Thanks!

Cordial regards


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Date to File Using Cmd ecom Other Programming Languages 1 November 13th, 2007 04:16 PM
Create backup folder & also backup files miracles Excel VBA 0 April 16th, 2007 02:28 AM
Add an hour to a date (solution) g000we Classic ASP Basics 1 July 26th, 2006 06:24 AM
How to add client-side script to an ASP button BrianWren VB.NET 1 March 30th, 2005 04:27 PM
sql server database backup by script mateenmohd SQL Server 2000 4 July 6th, 2004 12:32 PM



All times are GMT -4. The time now is 02:14 PM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.