Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Giant File Paths should be severely reprimanded.

SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
03-12-2006 20:56
File paths are just insanely long at times.

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.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-
AJ DaSilva
woz ere
Join date: 15 Jun 2005
Posts: 1,993
03-13-2006 08:46
From: Kris Ritter
Hey Sue your long location field is messing up the forum formatting for some people. Would you mind shortening it?
Thirded.
Aliasi Stonebender
Return of Catbread
Join date: 30 Jan 2005
Posts: 1,858
03-13-2006 14:14
here, Suezanne, allow me to show you what it looks like. I'm not snarky about it, but it DOES look kinda ass-ugly.

_____________________
Red Mary says, softly, “How a man grows aggressive when his enemy displays propriety. He thinks: I will use this good behavior to enforce my advantage over her. Is it any wonder people hold good behavior in such disregard?”
Anything Surplus Home to the "Nuke the Crap Out of..." series of games and other stuff
Myrrh Massiel
Registered User
Join date: 7 Oct 2005
Posts: 362
03-13-2006 15:24
...fifthed, but without being so rude about it... ;)

...how exactly is it that you set up your own private group forum, anyway?..i know we had to campaign for the better part of a year to receive an SLSF group forum, and our active membership reaches three digits...just curious about the dichotomy, that's all...
SuezanneC Baskerville
Forums Rock!
Join date: 22 Dec 2003
Posts: 14,229
03-13-2006 16:04
Wouldn't have left it looking that way if it had looked like that to me; I would think people would figure that out without having to be told.


This is how it looked to me:



Perhaps the fault lies in the choice of browser, or browser settings. The Opera web browser that I use most often deals with it just fine.

The procedure for getting a group forums is shown at the bottom of the Forum Guidelines
From: someone
Group Forums
To request a Group Forum, first make sure your SL Group has at least 20 members, then send an email to [email]groups@secondlife.com[/email] with your SL name, group name and the name of 2 group members who will be moderating the group forum. Please note, Group Forums which go unused may be deleted.


The above procedure is what I did, and it appeared to work.
_____________________
-

So long to these forums, the vBulletin forums that used to be at forums.secondlife.com. I will miss them.

I can be found on the web by searching for "SuezanneC Baskerville", or go to

http://www.google.com/profiles/suezanne

-

http://lindenlab.tribe.net/ created on 11/19/03.

Members: Ben, Catherine, Colin, Cory, Dan, Doug, Jim, Philip, Phoenix, Richard,
Robin, and Ryan

-