Maxl parameterizing entire path using servername

I want to use environment (or local if environments not possible) to parameterize three paths for source files for Maxl imports and destination files for exports. Easy enough when the path is the essbase server ($Arborpath etc.) The problem arises when I want to use a path with a servername in a variable. For example:
import database sample.basic data from data_file "$Testpath\\Calcdat.txt" on error abort;
where Testpath = \\EssServerName\Dirname\SubDirname
at the moment TestPath = \\Forbin\MTGTools\Maxl BUT I've tried many permutations of slashes, double slashes, (even tried triple slashes on the servername which works in some circumstances), quotes etc. along with "' (double quotes surrounding single quotes)
I've gotten variations of this to work fine right up to the point of using the servername with the variable.
The expanded statement looks perfect in the console black screen but of course that's not reliable.
Thanks much for your help.
Ron

Okay, how about this:
spool on to "\\$COMPUTERNAME\\temp\\For_Ron.log" ;
login "admin" "password" on "$COMPUTERNAME" ;
exit ;Which produces the log file (in c:\temp):
MAXL> login "admin" "password" on "DEMO1113" ;
OK/INFO - 1051034 - Logging in user [admin].
OK/INFO - 1051035 - Last login on Tuesday, March 30, 2010 5:25:13 PM.
OK/INFO - 1241001 - Logged in to Essbase.
I'm not seeing a need for quadruple backslashes to get UNC naming, which I think is the need (if this indeed be on Windows). *nix I couldn't say.
I don't think import would be any different than spool, although I could always be surprised.
Regards,
Cameron Lackpour
Edited by: CL on Mar 30, 2010 5:28 PM
Of course I could be missing the whole point, again, so who knows.

Similar Messages

  • Managed Metadata fields using "entire path to the term" - how can I access this data?

    We are trying to make it easier for our users to enter metadata, so the hierarchy is really useful and we can display it as the "full path to the term".
    eg. country, region, town
    But there are times when we need an individual piece of data like region.
    Calculated fields do not work. :-(
    So I have been trying to access the data from a SharePoint Designer Workflow.
    But - I can only get to the leaf node element - the last value from the selection.
    Does anyone know a trick to get the full hierarchy string of Country-region-town???
    Many Thanks
    Ruth
    Ruth, UK

    Hi Ruth,
    Per my knowledge, there is no OOB way to retrieve the entire path of the managed metadata column value.
    However, you can use the code sample to get the Managed Metadata Hierarchy, please refer to the link below:
    http://msdn.microsoft.com/en-us/library/ff823725.aspx
    More reference:
    http://zimmergren.net/technical/sp-2010-introduction-to-programmatically-working-with-taxonomies-in-sharepoint-server-2010
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • PDF Filename is entire path

    I am outputting a report to PDF and its all working fine
    except for one thing, and that is that the pdf's filename is the
    entire path to the file instead of just the filename. This is the
    code I am using in the cfdocument tag:
    <cfdocument format="pdf"
    filename="#request.baseRefTempFile#\#form.collectorLongName#_AssignedSamples.pdf"
    fontembed="yes" overwrite="yes"
    saveasname="#form.collectorLongName#_AssignedSamples.pdf"
    scale="100">
    request.basereftempfile is a variable pointing at the folder
    where the pdf is saved. Its saving it there correctly. Its just the
    filename is the entire path but it omits the directory slashed and
    replaces them with underscores.
    Any help would be much appreciated .Thanks very much

    I am currently using the same method and the working code is
    below. I do not use the saveasname. Have you tried without?
    <cfdocument
    filename="#application.reportPath##dateFormat(todaysDate,'yyyymmdd')#-#UserKey#.pdf"
    format="PDF" pagetype="letter" margintop="0" marginbottom="0"
    marginright="0" marginleft="0" orientation="portrait"
    backgroundvisible="yes" overwrite="yes" fontembed="yes">

  • Deleting anchor point, deletes entire path

    Need a solution...when I create a path with the pen tool I am unable to delete anchor points without deleting the entire path. Using the Pen tool + option reveals the white arrow (Direct Selection Tool) - I click and drag a box around the desired anchor point - the selected point is then black - all other points along the path are not filled with black - hence they are not selected - I hit the delete button - instead of the single selected point being deleted, the path is deleted. In the past I would have to quit and reboot PS to clear the problem - that fix is no longer working.
    Any suggestions. Thanks.
    CS4
    Mac 10.6.4
    4GB RAM

    Had another look at this and I will try to be as brief as possible.
    I forgot to point out in my first comment that I had auto add/delete points selected and with that selected the pen tool autmatically shows the delete point tool when the tool is over a point. Clicking would then remove the point and the path direction will be modified. It is not possible to remove a point from a bezier path without modifying the paths direction, or to remove an end point from a path, this is the mathmatical law involved. If you need a gap in the path, place a new point either side of the required gap the delete the path between them. T modify the end of a path, ie. shorten it, you will still need to place a point where you desire the path to end. If as you suggest the whole path is deleted I can only imagine you may be accidentaly double deleting, as the whole of the path becomes selected when you have deleted a point and a second click will delete the rest of the path.
    I have tried to reproduce your problem and so this is what i can come up with. I have been using Adobe Illustrator an Photoshop since 1990 and I have not come across this before.
    Hope you find a solution as i do appreciate the frustration it can cause.
    Mac Pro 2 x 2.8 GHz Quad Core, OSX 10.5.8, 6 GB Nvidia 8800GT, PS CS5.
    Regards

  • Retrieving entire path of metadata column

    To emulate document permissions based on metadata, I'm trying to create my own document routing logic through a workflow retrieving the value from a metadata column and moving the file to the appropriate folder. It works fine except for the fact that I'm
    using a hierarchical term set for my metadata so I need the folder system to be two levels deep. Therefore I need to retrieve the full path for the metadata term. But I haven't found a way to do it!
    If I have a document tagged Economics:Reports I need it to be moved to the Reports folder inside of the Economics folder, but I can only retrieve the term name "Reports". I've tried using the "TaxonomyHiddenList" and the Rest API, but
    I guess I'm too ignorant to understand how to do it.
    Can anyone please help me out or guide me if there is another way to solve it?

    Hi,
    How you are fetching info? and what is the display format of taxonomy field you are using?
    i.e have you set taxonomy column setting to "display the entire path to the term in the field".?
    Refer following link to set this option:
    http://office.microsoft.com/en-in/sharepoint-server-help/site-column-types-and-options-HA010302196.aspx#_Toc277149837
    Thanks,
    Avni Bhatt

  • Can't manipulate single anchor point - only move entire path

    Neither using the direct selection tool nor holding command (I'm on OS X) while using the pen tool will allow me to move individual achor points, I am only able to move the entire path.
    I can add and delete anchor points, but I am only able to control the handles on newly formed anchors, holding the space bar does not allow me to move new points either.
    Is there a setting somehwere that I'm missing that will allow direct selection to work properly?
    Thanks

    Problem Solved.
    Turned on Smart Guides (cmd-U) and that seems to have taken care of it.

  • Execute " net use \\servername\..... "

    Hi.
    If i run this command from my Windows XP machine.
    net use \\timecare\winlas winlas /USER:winlasuser &&\\timecare\winlas\winlas.exe
    It works perfect ....
    But when I try it with Zenworks ..... it aint ... the cmd.exe just pops up and then
    dissaperes, and then no more.

    yes... but that didn´t help.
    Had to make two ZFD objects.
    The first one..
    net use \\timecare\winlas \\timecare\winlas> winlas /USER:winlasuser
    the second one..
    \\timecare\winlas\winlas.exe
    and the second one, has a dep. with the first one.
    // Patrik
    >>>
    Från:craig wilson<[email protected]>
    Till:novell.support.zenworks.desktop-management.7x.applications
    Datum:2010-04-12 14:46
    Ärende:Re: Execute " net use \\servername\..... "
    the path to file should be net.exe
    On 4/12/2010 6:58 AM, xilefp wrote:
    > Hi.
    > If i run this command from my Windows XP machine.
    > net use \\timecare\winlas <file://\\timecare\winlas> winlas
    > /USER:winlasuser &&\\timecare\winlas\winlas.exe
    > It works perfect ....
    > But when I try it with Zenworks ..... it aint ... the cmd.exe just pops
    > up and then
    > dissaperes, and then no more.

  • Logical path using in abap program

    hay,
    I want to create file in application server directory.
    so i want the user to select the Logical path and file name from screen.so that he can create the file and seved in selected logical path.{path used must be from Instance profile DIR_LOGGING,GLOBALPATH directory etc).
    could you pls tell me how to do this using parameter for user input selecting FILE PATH.
    Do we have Functional module for Retrieving physical path
    from logical path?
    could you pls help me..
    ambichan.

    hey,
    Thanks for your reply.
    Instead of using logical file name as input, can we allow the user to select logical path using parameter?
    I want user to select Logical path or logical file name from parameter. is it possible?
    (I want to avoid user to input insteal want to allow user to select the path)
    ambichan
    Message was edited by: ambi chan

  • How can I add to an existing path using the pencil tool?

    This probably seems like a rather elementary question, but
    whenever I draw a path using the pencil tool, reselect it,
    hover over the endpoint, and the click and drag to extend
    the line off into a different direction, Illustrator will often
    (but not always) erase the existing path and leave only the
    new one that I drew.
    To wit:
    In step 1 above, I draw a line with the Pencil tool.
    In step 2 above, I reselect the line from step 1, hover over the endpoint, and then continue to draw further.
    However, as can be seen in step 3, the line from step 1 disappears after I draw the new path.
    I am aware of the pencil setting, "Edit selected paths", and I have checked it to edit selected paths
    within 12 pixels for the above example. What I am doing in the above example, and what I
    want to do, is to be able to add more paths onto an existing one using the pencil tool,
    rather than have a completely new path being drawn every time I lift up my pen to finish
    drawing the previous path.
    I also realize that I can do this with the pen tool; but the pen tool is a more
    precise tool (and somewhat more cumbersome), and I prefer to have more
    of the rough-handed look from time to time.
    Finally, I also know that I can use the direct selection tool to select endpoints
    from two different paths and then join them using the join command;
    but this seems to be more trouble than it's worth in many cases, especially
    if I want to do it frequently for a more long and complicated line.
    Am I expecting too much out of Illustrator?
    Is my idea of how to use the existing tools wrong in this case?
    Is there some piece of knowledge I'm missing?
    I'm on Illustrator CS5, Mac OS X 10.6.8, using a Wacom Intuos4 tablet.
    However, I have confirmed the above on Illustrator CS4 for Mac as well.
    Any help or comments would be much appreciated.
    Jeff

    Thanks @rcraighead - the Live Paint process seems a bit overkill for simply adding
    a new path onto an existing pencil path, but I did try the first idea you suggested,
    which was tracing a bit over the last part of the existing path and then continuing
    on to extend the path. It's a bit imprecise because the existing path gets slightly
    modified, but it seems to work pretty well all in all. Nice idea indeed - thanks a million.
    I also found that in AI CS5, I can use the selection tool to select all of the paths
    in this case and then join them using the join command. I thought I needed to
    select individual anchor points for this to work, but it actually works really
    well, better than I thought. I seem to recall that previous versions of Illustrator
    were a lot more picky with the Join command, but then again this might just
    have been my lack of understanding.
    I'm curious to know what other solutions to the above problem that other users
    might have, so I will leave this question unanswered for a bit...
    but I will use your initial technique described - it seems to work
    pretty well, in absence of other options Many thanks again for your timely help.
    Jeff

  • SSMS 2012:FOR XML PATH Using XPath Node Tests-Columnn name 'test()' contains an invalid XML identifier as required by FOR XML?

    Hi all,
    I am learning XPATH and XQUERY from the Book "Pro T-SQL 2008 Programmer's Guide" written by Michael Coles, (published by apress). I copied the Code Listing 12-8 FOR XML PATH Using XPath Node Tests (listed below) and executed it in my
    SQL Server 2012 Management Studio:
    --Coles12_8.sql // saved in C:/Documemnts/SQL Server Management Studio
    -- Coles Listing 12-8 FOR XML PATH Using XPATH Node Tests
    -- Retrieving Name and E-mail Addresses with FOR XML PATH in AdvantureWorks
    -- 16 March 2015 0935 AM
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "test()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH;
    I got the following error message:
    Msg 6850, Level 16, State 1, Line 2
    Column name 'test()' contains an invalid XML identifier as required by FOR XML; '('(0x0028) is the first character at fault.
    I have no ideas why I got this error message.  Please kindly help and advise me how to resolve this error.
    Thanks in advance,  Scott Chang

    Hi Michelle, Thanks for your nice response.
    I corrected the mistake and executed the revised code. It worked nicely.
    I just have one question to ask you about the appearance of the xml output of my Co;les12_8.sql:
    <row>
    <?nameStyle 0?>
    <Person ID="1" />
    <!--2003-02-08T00:00:00-->697-555-0142<Person><Name><First>Ken</First><Middle>J</Middle><Last>Sánchez</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="2" />
    <!--2002-02-24T00:00:00-->819-555-0175<Person><Name><First>Terri</First><Middle>Lee</Middle><Last>Duffy</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="3" />
    <!--2001-12-05T00:00:00-->212-555-0187<Person><Name><First>Roberto</First><Last>Tamburello</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="4" />
    <!--2001-12-29T00:00:00-->612-555-0100<Person><Name><First>Rob</First><Last>Walters</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="5" />
    <!--2002-01-30T00:00:00-->849-555-0139<Person><Name><First>Gail</First><Middle>A</Middle><Last>Erickson</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="6" />
    <!--2002-02-17T00:00:00-->122-555-0189<Person><Name><First>Jossef</First><Middle>H</Middle><Last>Goldberg</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="7" />
    <!--2003-03-05T00:00:00-->181-555-0156<Person><Name><First>Dylan</First><Middle>A</Middle><Last>Miller</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="8" />
    <!--2003-01-23T00:00:00-->815-555-0138<Person><Name><First>Diane</First><Middle>L</Middle><Last>Margheim</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="9" />
    <!--2003-02-10T00:00:00-->185-555-0186<Person><Name><First>Gigi</First><Middle>N</Middle><Last>Matthew</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="10" />
    <!--2003-05-28T00:00:00-->330-555-2568<Person><Name><First>Michael</First><Last>Raheem</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    <?nameStyle 0?>
    <Person ID="11" />
    <!--2004-12-29T00:00:00-->719-555-0181<Person><Name><First>Ovidiu</First><Middle>V</Middle><Last>Cracium</Last></Name><Email>[email protected]</Email></Person></row>
    <row>
    I feel this xml output is not like the regular xml output.  Do you know why it is diffrent from the regular xml xml output?  Please comment on this matter.
    Thanks,
    Scott Chang
    What do you mean by regular xml document? Are you referring to fact that its missing a root element? if yes it can be added as below
    USE AdventureWorks;
    GO
    SELECT
    p.NameStyle AS "processing-instruction(nameStyle)",
    p.BusinessEntityID AS "Person/@ID",
    p.ModifiedDate AS "comment()",
    pp.PhoneNumber AS "text()",
    FirstName AS "Person/Name/First",
    MiddleName AS "Person/Name/Middle",
    LastName AS "Person/Name/Last",
    EmailAddress AS "Person/Email"
    FROM Person.Person p
    INNER JOIN Person.EmailAddress e
    ON p.BusinessEntityID = e.BusinessEntityID
    INNER JOIN Person.PersonPhone pp
    ON p.BusinessEntityID = pp.BusinessEntityID
    FOR XML PATH('ElementName'),ROOT('RootName');
    replace ElementName and RootName with whatever name you need to set for element as well as the root element
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to Capitalize the first letter or an entire word using a shortcut on the keyboard just like in microsoft that uses shift+F3

    please how can one How to Capitalize the first letter or an entire word using a shortcut on the keyboard just like in microsoft that uses shift+F3

    What do you mean there was "no effect?" I'm not aware of any effects.
    It looks like that Service is also in the App Store. From their screen shots, the services are prefaced with WordService:
    You can see an example in the App Store for their app: App Store
    After installing, you should now have those text services in your Services menu. You can then add shortcuts in the Keyboard System Prefs.
    Most Apple apps have a Transformations menu in the Edit menu. You can Make upper, lower, and Initial caps with those. I would stick with Word Services, but you can make Application Shortcuts for the items in the Transformations menu.
    Again, in Keyboard System Prefs, Under Applications, Click the Add button on the right side pane.
    Set it for All Applications
    Enter the menu command exactly as they appear in the Transformation menu (separate entries for each),
    Make Upper Case
    Make Lower Case
    Capitalize
    Give them a shortcut.

  • Regarding Evaluation path used in Organisation structure.

    Dear All,
    How would i be able to get to know the evaluation path used by organisational structure to display the structure. What i found in tcode : ppome is that it is showing evaluation but not path name. I want to know the reference path name which it is using.
    Thanks,
    Raj

    Hi
    Check the Report:
    RHINFAW0 - Infotype reporting.
    Regards,
    Sreeram

  • Display the entire path to the term in the field option programmatically

    hi,
     I am having hundreds of doc libs with a  taxonomy column .now i want to change the property diaplay format:
    Display the entire path to the term in the field option, programmatically.
    can anyone pls help how to achieve this. i am thinking of writing  a consoel appln which iterates through all the sub sites on my site collec and  all doclibs and want to access this taxonomy columns and change this  display format .
    but i am stuck with whats the property responsible for this.
    help is appreciated! 

    hi Benjamin,
    Please try IsPathRendered Property of the taxonomy field. It is a Boolean field which related to display format of a taxonomy field.
    FALSE - Display term label in the field
    TRUE - Display entire path of the term in the field
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.taxonomy.taxonomyfield.ispathrendered(v=office.14).aspx
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • Getting the parameters in url using cfgrid to cfc....

    please help!!!
    passing parameters to cfc using the cfgrid bind...
    im using the cfc bind if u hard coded the query in the cfc its works but if u need to pass a parameters in cfc bind its not working...
    for example...
    my url with parameter is http://localhost/index.cfm?empid=123&start_date=2009/05/01
    <cfform>       
                <cfajaxproxy bind="javascript:todetail({maingrid.id@change},{maingrid.firstname@none},{maing rid.lastname@none})" />
                <cfgrid format="html"
                    name="maingrid"
                    bind="cfc:#request.cfcpath#users.getGridas({cfgridpage},{cfgridpagesize},{cfgri dsortcolumn},{cfgridsortdirection})"
                    preservepageonsort="true"
                    appendkey="no"           
                    selectonload="false"
                    width="750"                           
                    style="clear:both;" colheaderalign="center"
                    >
                    <cfgridcolumn name="id" display="no" />
                    <cfgridcolumn name="datatime" header="DATE" width="100"/>               
                </cfgrid>
            </cfform>
    my query in cfc file:
    select * from hrd_emp
    WHERE 0=0
                <cfif arguments.id NEQ "">AND (id='#arguments.id#')</cfif>
                <cfif arguments.whereClause NEQ "">AND (#preserveSingleQuotes(arguments.whereClause)#)</cfif>
                AND (EmpNo = '#######')   =====> i need to put the empid=123 from the url  http://localhost/index.cfm?empid=123&start_date=2009/05/01
    PLEASE HELP!!!

    Pam, here's how I solved this one. Note the order of the bindings and the order of the bindings in the CFC must be the same as well. Hopefully this helps:
    <!--- create cfgrid with results from url.CFGRIDKEY variable --->
    <cfform name="getUsers">
           <cfgrid format="html" name="displayUsersActive" autowidth="yes" selectmode="row" striperows="yes" pagesize="13" bind="cfc:getUsers.SPActiveUsers({cfgridpage},{cfgridpagesize},{cfgridsortcolumn},{cfgrid sortdirection},'#url.CFGRIDKEY#')" width="700" height="360">
                <cfgridcolumn name="intfkclassid" display="no">
                <cfgridcolumn name="txtLName" header="Last Name" headerbold="yes" width="20">
                <cfgridcolumn name="txtFName" header="First Name" headerbold="yes">
                <cfgridcolumn name="startdate" header="Start Date" width="30" headerbold="yes">
                <cfgridcolumn name="enddate" header="End Date" headerbold="yes">
                <cfgridcolumn name="classno" header="Class No" headerbold="yes" hrefkey="intfkclassid" href="allEnrolled.cfm" >
            </cfgrid>
        </cfform>
    <!--- getUsers.cfc ----------->
    <cfcomponent>
        <!--- METHOD: List Active users method --->
        <CFFUNCTION NAME="SPActiveUsers" access="remote" RETURNTYPE="struct">
            <cfargument name="gridpage" type="numeric" required="true" />
            <cfargument name="gridpagesize" type="numeric" required="true" />
            <cfargument name="gridsortcolumn" type="string" required="true" />
            <cfargument name="gridsortdirection" type="string" required="true" />
            <cfargument name="cfgridkey" required="false" type="string" default=""/>
         <cfif arguments.gridsortcolumn eq "">
                <cfset arguments.gridsortcolumn = "txtLName" />
                <cfset arguments.gridsortdirection = "asc" />
            </cfif>
             <!--- get user's info --->
                 <cfquery datasource="#application.dsn#" name="getUsers">
                        select a.intuserid,
                                a.txtFname,
                                a.txtLname,
                                b.intfkclassid,
                                c.intclassid,
                                convert(varchar,c.dtstartdate,106) as startdate,
                                convert(varchar,c.dtenddate,106) as enddate,
                                right('00' + convert(varchar,c.intclassyr),2) + '-' + right('00' + convert(varchar,c.intclassno),2) as classno,
                                c.intclassNo,
                                c.intclassyr
                        from tblusers a, tblenrollment b, tblclasses c
                        where a.intuserid = b.intfkuserid and
                                b.intfkclassid = c.intclassid
                                <cfif arguments.cfgridkey NEQ "" and isnumeric(arguments.cfgridkey)>
            and c.intclassid = #arguments.cfgridkey#
                                <cfelseif arguments.cfgridkey NEQ "" and arguments.cfgridkey EQ "active">
                                and c.blnIsActive = 1
                                <cfelseif arguments.cfgridkey NEQ "" and arguments.cfgridkey EQ "inactive">
                                and c.blnIsActive = 0
                                <cfelse>
                                and 1 = 1
                                </cfif>
                        order by #arguments.gridsortcolumn# #arguments.gridsortdirection#
                        </cfquery>
              <CFRETURN queryconvertforgrid(getUsers, gridpage, gridpagesize)>
        </CFFUNCTION>
    </cfcomponent>

  • Setting $PATH using the terminal

    Hi All! I am a newbie with OS X and I am wondering as to how to add a directory into the PATH using the terminal. Thank you very much!

    Ustilago wrote:
    Hi All! I am a newbie with OS X and I am wondering as to how to add a directory into the PATH using the terminal. Thank you very much!
    Welcome to Apple Discussions!!
    export PATH=/path/to/your/directory:$PATH
    Note that you should supply the complete path to the directory you want to add.
    To make this automatic for each time you start the Terminal, you need to arrange for it to appear in ~/.bash_profile or ~/.bashrc. It's best to put it in the latter, since this is run for every Terminal window. ~/.bash_profile is only executed for the initial login window, but you can avoid duplication by having it source ~/.bashrc. Stripped to its essentials, my ~/.bash_profile is just
    if [ -r ~/.bashrc ]; then
    . ~/.bashrc
    fi
    If you have further questions, you might find posting them in the UNIX forum better. One of the regular posters there, Bill Scott, has this page which you may find useful: Unix Links, especially under the Mac OS X heading.

Maybe you are looking for

  • Can anyone help? "DynamicLink" not available attempting to open Mov in Photoshop CS6

    Can anyone advise where I should go to get help with this? as this is obviously not the right place! Hi, Using CS6 Photoshop extended on iMac early 2008 model..... Processor  2.8 GHz Intel Core 2 Duo Memory  4 GB 800 MHz DDR2 SDRAM Graphics  ATI Rade

  • How to recover IN & OUT after exporting XML file from iMovie9 to FinalCut ?

    Here is my WorkFlow : - Log & Capture my HDV footage in FCP - ProRes422. - Move the captured ProRes 422 clips to a new EVENT in iMovie. - Roughcut my edits in iMovie with no effects, no audio goof offs, ... just straight cuts. - Share ( export ) XML

  • Embedded flash slideshow link does not open

    Hi, I have a problem that my slideshow works great when not embedded, I can click the pictures and the link opens in the same window just like I want. However, when I embed the slideshow the links do not work. I attach my embed code. Thanks for your

  • DME File Format FI_LUM2

    Hi Experts, My Client want to have Account holders name instead of Vendor name in the DME file. I have checked the DME format and there we have Field name KOINH for account holder name in Structure FPAYH in the same structure where we have ZNME1 in S

  • Adobe Reader X 10.1.2 n'imprime pas - crash

    Bonjour, voila un probleme que nous avons depuis quelques semaines et le forum anglais n'a pas répondu non plus j'ai fait une video youtube pour montrer le soucis, mais aussi le résoudre, le probleme c'est que le support Adobe le sait et n'a toujours