• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Copying Files

 
Ranch Hand
Posts: 838
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not sure if anyone is familar with xcopy or not. I'm trying to set up a nightly task (on windows) that will copy an uniVerse account (uniVerse is an IBM RDMS but the account is really just a plain file) to a backup machine (i.e. server). We've tried setting up a batch file with an xcopy command in it but it just doesn't seem to work. I'm guessing no one in here has used the phantom command in uniVerse (or maybe not even uniVerse) but trying to use xcopy with that fails as well. Does anyone know of a simple way of scheduling a job in windows (and possibly Unix as well) that can copy an entire directory from one machine to another. Using the xcopy command in a batch file as a scheduled job does nothing and does not seem to give any feedback. Can anyone please help? I'd appreciate any feedback regarding this issue. Thanks.
Rob
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure what you might be after but I will give it a shot: http://www.cae.wisc.edu/fsg/info/xcopy.html
 
Sheriff
Posts: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nice link, Eric. I might also suggest that you throw a couple of "echo" or "append to file" statements into the task script just to make sure something is happening.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic