Re: dos batch programmer help!!



since i am in msdos.programmer forum
and since you are the expert, and i need your help
let me ask you this diffrently, ok?

let say i am just using dos 6.2
and i want to backup my xxx folder to external hd
i want to write a batch file that before using xcopy to copy the xxx
folder
that verify that the ext. hd s/n is the same as specify in the batch
file...
can you do that?

Thanks in advance
Assaf

Jim Higgins כתב:
On 20 Jul 2006 16:15:06 -0700, assafm@xxxxxxxxx wrote:

Hi There,
I am new in this forum, and hope to get some help with my problem.

In the company i work, we backup the server data to few external HD.
Every few days we change the hd and after two weeks, we get back to the
first hd and so on... the problem is that the secretary who responsible
to switch the hd always make mistakes and put the recent one. we want
to add a section to the batch file that check the volume serial number
of the external hd and make sure it is the one for backuping this week.
for example: this week i am using HD #1, and his serial number is
xxxx-xxxx.
if the secretary put a different number, it should write, "HD doesnt
match" or something...

is anyone know how to do this?

Thanks in advance
Assaf

Find someone more competent who can put the right HD in the drive bay?

Seriously, if I had to go to those lengths to work around persistently
incompetent performance I'd reevaluate my own competence for assigning
an IT task to a secretary in the first place and if I passed that test
I'd replace the secretary.

I suggest you assign the job to a more technical person whose job more
closely depends on the data.

.



Relevant Pages

  • Re: Script: Ntbackup Success or Failure
    ... file via email that is created everyday/week, after a backup job ... I am this is the right forum. ... This batch file replaces your current backup process. ...
    (microsoft.public.windows.server.scripting)
  • Re: Schedule Batch File-How to?
    ... backup with your Robobkup program. ... Panel> Scheduled Task etc. and the batch file name was used as the ... Windows command that you are using within the batch file. ... The properties window for the new scheduled task should now be open. ...
    (microsoft.public.windowsxp.general)
  • Using Print Migrator
    ... TCP/IP port and latest drivers from the internet. ... tool to Backup the printer information to a .cab file. ... batch file and put this in a shared folder. ... place this file in the .cab file that the tool creates. ...
    (microsoft.public.win2000.printing)
  • Re: How can I easily back up to an external hard drive?
    ... Easiest way to do this is to create a batch file and use the XCOPY command ... This may be overridden with /-Y on the command line. ... Documents & Settings folder that you use to sign in with. ... My batch file to backup my primary desktop to my server's backup drive is: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Schedule Batch File-How to?
    ... temporary that zip uses is on I: and the actual backup goes to J:. ... Panel> Scheduled Task etc. and the batch file name was used as the ... Windows command that you are using within the batch file. ... The properties window for the new scheduled task should now be open. ...
    (microsoft.public.windowsxp.general)