Windows Help 4 Teh Nublet!
DragonMech
Join Date: 2003-09-19 Member: 21023Members, Constellation, Reinforced - Shadow
in Off-Topic
<div class="IPBDescription">Sychronizing Files</div> I have a problem with my NS config files - namely, the problem is that I have 3 copies of each (a set for beta 5, a set for beta 6 (constie FTW!), and a backup in my My Dcuments in case of an admin messing with my settings) and keeping them all up to date is a hassle. Is is possible for me to synch them up so that if I change one file, I change the other two as well?
Obligatory nerd smilie: <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html/emoticons/nerd-fix.gif' border='0' style='vertical-align:middle' alt='nerd-fix.gif' /><!--endemo-->
Obligatory nerd smilie: <!--emo&::nerdy::--><img src='http://www.unknownworlds.com/forums/html/emoticons/nerd-fix.gif' border='0' style='vertical-align:middle' alt='nerd-fix.gif' /><!--endemo-->
Comments
but what you could do is keep a separate cfg file that has the static commands and then keep separate cfg files that have the unique commands stored so all you do is combine the cfg files that you need..
It would be faster, but still not automatic.
hmm, there SHOULD be away to do it in windows, but I don't think there is...
unless a shortcut works the same way (doubt it though)
hmm, there SHOULD be away to do it in windows, but I don't think there is...
unless a shortcut works the same way (doubt it though) <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS...
hmm, there SHOULD be away to do it in windows, but I don't think there is...
unless a shortcut works the same way (doubt it though) <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS... <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Yes, it is possible. The easiest way to do it is with a 3rd party tool like Hard Link Magic, though finding a site to download HLM from may be difficult; I can't find the original author's site in the first page worth of google results.
hmm, there SHOULD be away to do it in windows, but I don't think there is...
unless a shortcut works the same way (doubt it though) <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS... <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Yes, it is possible. The easiest way to do it is with a 3rd party tool like Hard Link Magic, though finding a site to download HLM from may be difficult; I can't find the original author's site in the first page worth of google results. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
<a href='http://www.pearlmagik.com/winbolic/' target='_blank'>http://www.pearlmagik.com/winbolic/</a>
<a href='http://www.sysinternals.com/ntw2k/source/misc.shtml#junction' target='_blank'>http://www.sysinternals.com/ntw2k/source/misc.shtml#junction</a>
Not the same tool, but should do the same thing (NTFS Junctions)
EDIT - hmm, not sure that they will do individual files, maybe folders only
exec myconfig.cfg
And then in myconfig.cfg, whatever you want;
bind "mouse1" "say NUBBLAR!"
I think that'd work.
a .bat might work, but you would have to set it up to copy over the newest version.
and putting stuff in a second config wouldn't work as he can't change that on the fly.
Those 3rd party programs look nice though.
hmm, there SHOULD be away to do it in windows, but I don't think there is...
unless a shortcut works the same way (doubt it though) <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Actually, I did hear awhile back about somebody finding a way to do links on Windows NTFS... <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
Yes, it is possible. The easiest way to do it is with a 3rd party tool like Hard Link Magic, though finding a site to download HLM from may be difficult; I can't find the original author's site in the first page worth of google results. <!--QuoteEnd--></td></tr></table><div class='postcolor'><!--QuoteEEnd-->
<a href='http://www.pearlmagik.com/winbolic/' target='_blank'>http://www.pearlmagik.com/winbolic/</a>
<a href='http://www.sysinternals.com/ntw2k/source/misc.shtml#junction' target='_blank'>http://www.sysinternals.com/ntw2k/source/misc.shtml#junction</a>
Not the same tool, but should do the same thing (NTFS Junctions)
EDIT - hmm, not sure that they will do individual files, maybe folders only <!--QuoteEnd--> </td></tr></table><div class='postcolor'> <!--QuoteEEnd-->
Junctions (i.e. reparse points) are for folders only. You can use FSUTIL or LINKD to create, modify, and delete those.
NTFS does not naturally do what you're looking to do on XP. In 2003 (and Longhorn), you can run 'volume shadow copies' on your disks that would automatically keep copies of changed data in a restore checkpoint area. And WinFS will have some pointer-like abilities as well for those that want it. But currently you need to buy or create something that will monitor a folder for changes and make copies of it appropriately.
No - that's not neccesary. Just something that would let me keep all copies of the file the same; a .bat icon on my desktop would work fine. I'm still working on making the .bat file though (I haven't had a lot of free time lately - I've got a boatload of english papers to write).
Does anyone know a site with some basic .bat file commands and such? I've never written a .bat file, and really don't know how they work.
Batch files are really just DOS-like commands in an order... Example:
copy /y "c:\lala\whateverfile.cfg" "c:\stuff"
echo on
echo "copied whateverfile.cfg to c:\stuff"
And so on.