Windows filenames and "/" (was Re: logtext and logfile)

Kenneth Brody kenbrody at bestweb.net
Mon Mar 3 13:59:12 PST 2008


Quoting Nancy Palmquist (Mon, 03 Mar 2008 16:33:46 -0500):

> Kenneth Brody wrote:
>> Quoting Nancy Palmquist (Mon, 03 Mar 2008 13:31:38 -0500):
[...]
>>> Same exact string works for WINDOWS, just do this
>>>
>>> file=xlate(file,"/",chr("92"))  to flip the slashes.
>>
>> Unless you're passing the filename to SYSTEM (which we're not doing here),
>> there is no need to flip the slashes under Windows.  The forward slash
>> works just fine.
>>
>> [...]
>>
> Guys,
>
> Since my miniscule brain can not remember when it is ok and when not, I
> just make a habit of flipping on windows.  Then I don't have to worry
> about which case allows slashes that lean east and which only allow
> west leaning slashes.

Well, one easy thing to remember is "if it's staying within filePro,
just use forward slashes as $DEITY intended, and be done with it".  :-)

> I have found that this will always work and I can leave some RAM to
> remember other more important items.

Now, if there were only some way of purging things like the theme song
to The Brady Bunch, or my phone number with I was 8 years old, or the
account number on a checking account I closed >15 years ago, or ...

> But as always, you keep me honest.

Glad to be of service.

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list