[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVNArchive

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2005-11-14 10:52:10 CET

Ryan Schmidt wrote:
> %~p0 sure looks odd to me, but I'm no Windows batch script programmer
> so I don't know. On Unix, you definitely have to list the complete
> path to the script or executable, because the hook is run without an
> environment. Perhaps it's the same way on Windows. (So call C:\path\to
> \SVNArchive.Backup.bat for example.)

As you seem to have surmised, %~p0 returns the path the batch file. As
to whether that works inside a hook is unknown.

-- 
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 14 10:56:24 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.