Look at the path name for the SL cache.
"C:\Documents and Settings\Owner\Application Data\SecondLife\cache"
And here's the one for the SL user_settings folder where the settings.ini file lives
"C:\Documents and Settings\Owner\Application Data\SecondLife\user_settings"
In addition to the length of it, some of the words have spaces in between and some are run together with middle of the word capitalization and some are separated with underscores.
Now I am wanting to be able to display in legible form here a DOS command with two file paths of that length and another a bit shorter. Because of the space in between Application and Data, the word wrap mechanism in the forum display will break the lines.
Putting it in quotes won't make it not break there, and using the PHP, HTML, or CODE enclosures puts a misleading PHP, HTML, or CODE designator at the left of the enclosed text panel.
If you ever run into a file path out in the real world, punch it in the nose, tell it to lose some weight and lose the unsightly spaces.
I am writing a batch file to add custom settings to the settings.ini file upon a single click, and doing that involves referring to folders with names like those above.
There is a thing to be done about this, using the "set" command in whatever it is the youngsters these days are calling DOS commands.
The syntax for this is, I believe,
SET [variable=[string]]
examples would be
SET slcache="C:\Documents and Settings\Owner\Application Data\SecondLife\cache"
SET sluser="C:\Documents and Settings\Owner\Application Data\SecondLife\user_settings"
SET sldata="C:\Documents and Settings\Owner\Application Data\SecondLife"
To use these later you enclose the name , like sluser, in percent signs.
If I get this working like I think it will, my desired batch file command to add the customized settings file to the end of the settings file would be
"copy %sluser%\settings.ini +c:\CustomizeSL\CustomizeSL.txt %sluser%\settings.ini"
instead of
CODE
copy "C:Documents and Settings\Administrator\Application Data\SecondLife\user_settings\settings.ini" +"C:My Documents\Customize SL.txt" "C:Documents and Settings\Administrator\Application DataSecond\Life\user_settings\settings.ini"
I am hoping I can put the SET commands in the autoexec.bat file - remember that old thing? - and forget about it, and just remember to type %sluser% when I want to refer to
CODE
"C:\Documents and Settings\Owner\Application Data\SecondLife\user_settings".
Now if I could just do something about those annoying percent signs.