[cvsnt] Copying committed files via cmd.exe

ERNST KUSCHKE ernstkus at sasa.org.za
Tue Jun 24 11:43:26 BST 2003


I need to copy a file to a dummy directory as soon as it's committed.
IOW, I need cmd.exe to do the following:

   cmd.exe /c copy sourcePath target

How would I do this in loginfo?

I tried:

   ALL ""C:/WINNT/System32/cmd.exe /c copy" "[HardcodedPath]%{s}" "[HardcodedTarget]""

Doesn't work. How could I do this? It's obviously a fairly simlpe solution...:)

Thanks,

Ernst Kuschke

Software Developer
Information Systems
Finance & Administration Division
South African Sugar Association

Tel:  +27 (0) 31 539-5300
Fax:  +27 (0) 31 539-2951

http://www.sugar.org.za/

**************************************************************************************************************************************
This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information.  If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender.  You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Any comments or opinions in this email or its attachments are merely stating our views and carry no guarantee as to their accuracy.

Although the sender endeavours to maintain a computer virus free network, the sender does not warrant that a computer virus has not been transmitted herewith and urges you to virus-check this e-mail message. Accordingly, the sender will not be liable for any damages as a result of transmission of a computer virus with this e-mail message

The South African Sugar Association reserves the right to monitor all e-mail communications through its networks.
**************************************************************************************************************************************


More information about the cvsnt mailing list