|
In more generic terms, one doubles a character a command when a parser defines
it as an escape character. The first backslash means something like "don't
re-interpret the character that follows". In some contexts, I have had to
triple characters to get the character I want passed through a parser! Sig
____________________Reply Separator____________________
Subject: Re: File-Open-Directory in Windows SAS
Author: Lex Jansen <lex@LEX-JANSEN.DEMON.NL>
Date: 3/29/99 7:15 PM
Sveng,
it's justr a naming convention that is used in Windows REG-files for entering
information into the windows registry.
Path names should have double backslashes.
Lex
Svend Bang wrote:
> Excuse my total ignorance! Before I use the nice code: Why do you use double
> backslash?
> @="c:\\sas\\sas.exe -nosplash"
> Svend
>
> > -----Original Message-----
> > From: lex@LEX-JANSEN.DEMON.NL [SMTP:lex@LEX-JANSEN.DEMON.NL]
> > Sent: Saturday, March 27, 1999 11:07 AM
> > To: SAS-L@AKH-WIEN.AC.AT
> > Subject: Re: File-Open-Directory in Windows SAS
> >
> > There is a way to ad a context-menu option "SAS here" to a folder when
> > you right-click on it in the explorer.
> > This will open SAS starting in that folder. I tested this for W95 and
> > WinNT 4.0
> > How to do it?
> > With Notepad create the file SASHERE.REG with the following content:
> >
> > REGEDIT4
> > [HKEY_CLASSES_ROOT\Directory\shell\SAS_here]
> > "EditFlags"=hex:01,00,00,00
> > @="SAS here"
> > [HKEY_CLASSES_ROOT\Directory\shell\SAS_here\command]
> > @="c:\\sas\\sas.exe -nosplash"
> > [HKEY_CLASSES_ROOT\Directory\shell\SAS_here\ddeexec]
> >
> > Now in explorer, double-click on SASHERE.REG and ready you are.
> > In the explorer when you right-click on a folder, choose "SAS here" and
> > SAS will start in the folder.
> >
> > Lex Jansen
> >
> > "E. S." wrote:
> >
> > > Hi everyone, I was wondering if anybody has solved a
> > > problem I have with my Windows SAS system. When I hit
> > > the File-Open sequence, SAS goes straight to my SAS
> > > root directory. Is there a way to force SAS to look at
> > > a different directory, like the one where I keep "all"
> > > mi programs?
> > > Any help is appreciated.
> > > Ed
> > >
> > > _________________________________________________________
> > > Do You Yahoo!?
> > > Get your free @yahoo.com address at http://mail.yahoo.com
|