I will be told otherwise here (I'm sure there's a proper way someone will point out) but I like to cheat.
1) Set the .dat files attributes to normal :
2) Rename the file to .iniCode:SetAttr "C:\file.dat", VBNormal
3) Carry out the ammendment as normalCode:NAME "C:\file.dat" as "C:\file.ini"
4) Change it back after.
This will work, watch the number of other posts to critisise this & show you a proper way though, come on where are they ?![]()




Reply With Quote