Friday, July 20, 2007

perl files under subversion with keywords

To set keywords for all files, (well only for those under version control)
"c:\Program Files\svn-win32-1.4.2\bin\svn.exe" ps svn:keywords "URL Rev Author Date Id" *.*

Then add the following to your perl file:

#/* $URL$
# $Rev$
# $Author$
# $Date$
# $Id$

I know there is a way to change this to be default behavior, maybe I think.

vbscript top get modification date of file


getmoddate.vbs
'cscript getmoddate.vbs filename
'output filename#datemodified

strFilename=Wscript.Arguments(i)
Set filesys = CreateObject("Scripting.FileSystemObject")
Set demofile = filesys.GetFile(strFilename)
wscript.echo strFilename & "#" & demofile.DateLastModified

Wednesday, July 11, 2007

Map WebDAV folder as drive letter under XP

net use * http://webdav.domain.com/subfolder1/ password /user:domainname\username

found this should work great for those sharepoint sites as well.

I wish I didn't need to use sharepoint.