The system is unable to boot automatically. The BOOT environment variable must be set to a bootable image.

Hey guys

I need help, in my company trying to learn switches I flashed my switch all :(

I now get this error

The system is unable to boot automatically.  The BOOT
environment variable must be set with a bootable
image.

I downloaded the c2950-i6q4l2 - tar.121 - 22.EA14.tar for the switch, but I'm unclear on how to load the catalyst 2950 only

switch: dir flash:
Directory of flash: /.

3 - rwx 269 env_vars

7739904 bytes available (1536 bytes used)
switch: start
Loading ""...: permission denied ".

Error loading «»

Interrupt within 5 seconds to cancel the startup process.
Boot process failed...
switch: start
Loading ""...: permission denied ".

Error loading «»

Interrupt within 5 seconds to cancel the startup process.
Boot process failed...
switch:

C2950 Boot Loader (C2950-HBOOT-M), Version 12.1 (11r) EA1, RELEASE SOFTWARE (fc1)
Updated Tuesday 22 July 02 17:18 by antonino
WS-C2950-24 from...
Basic Ethernet MAC address: 00:15:2 b: 46:7 b: 00
XMODEM file system is available.
Initializing the Flash...
flashfs [0]: 1 files, directories 1
flashfs [0]: 0 orphaned files, orphaned directories 0
flashfs [0]: Total number of bytes: 7741440
flashfs [0]: used bytes: 1536
flashfs [0]: available bytes: 7739904
flashfs [0]: fsck flashfs takes 4 seconds.
.. .done boot flash.
Boot sector file system (bs :) installed, isfd: 3)
Setting Filesystem block (pb :) installed, isfd: 4)
Loading ""...: permission denied ".

Error loading «»

Interrupt within 5 seconds to cancel the startup process.
Boot process failed...

The system is unable to boot automatically.  The BOOT
environment variable must be set with a bootable
image.

switch:
switch:
switch: flash
Initializing the Flash...
... The flash is already initialized.
switch: dir /.
Unknown cmd: dir /.
switch: dir

List of currently registered file systems:

Flash [0]: (reading / writing)
XMODEM [1]: (read-only)
NULL [2]: (reading / writing)
BS [3]: (read-only)

switch: 0
Unknown cmd: 0
switch: flash_init
switch: load_helper
switch: dir flash:
Directory of flash: /.

2 - rwx 269 env_vars

7739904 bytes available (1536 bytes used)
switch:

Hello

It seems that the image is not in the flash memory. Do you know where you downloaded the image? Once we know, we can understand what statement of startup, you need to do to make it start correctly.

Thank you

Garrett

Tags: Cisco Support

Similar Questions

  • Looking for ways to solve the following problems of these messages: "check the temp environment variable. "Unable to print the document. "You don't have permission to save in this location."

    Looking for ways to solve the following problems of these messages: "check the temp environment variable. "Unable to print the document. "You don't have permission to save in this location."

    Hi Michael,

    Please follow the link and see the issue:

    Cannot print or preview before printing a Web page in Internet Explorer: http://support.Microsoft.com/kb/973479

    If the problem is specific to MS Word, then I suggest you to post the same question in the forums of MS Office for assistance.

    Microsoft Office Forum:

    http://answers.Microsoft.com/en-us/Office/Forum/Word

    I hope this helps.

  • How the PATH environment variable longer?

    Hello

    I use Windows Vista Business.  Lately, I just installed the beta of Intel Parallel Studio and found that my path variable ran out of space.  Internet research concluded that there cannot be more than 1024?
    It is too little for me to welcome all directories program that I installed, and thus some programs no longer work correctly.
    I wonder if there-
    (a) is a way I can expand the size of the Path system variable?
    (b) add another variable which can take some Path variable values so that I do not violate the limitation of 1024.
    Thanks in advance!
    A

    Hello, Gutsingh

    The PATH environment variable has a fixed limit of 1023 characters can be used. It doesn't seem to be a way to extend this. Other environment variables have a higher limit, which can be useful.

    Let us know if that helps.

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • SignIn problem on the removal of the PS_SERVER_CFG environment variable

    Hello

    in the previous thread extension: Re: several problems with the installation of PeopleTools

    I applied the same process and removed the mentioned environment variable, BUT now I am not able to connect to my application designer. It says invalid username or password!

    Any body can help pls...

    did you put the values by using configuration manager after the reset PS_SERVER_CFG? and why have you reset the env variable? where u facing the same issue as in the thread indicated?

    You need to debug and to know what is happening in the registration process.
    Define a path of SQL statements with variables and discover the last action performed.
    Who could help find the real problem

  • Contradictory in the software environment variables

    Full restore after migration from NT network software. Vista still loading root and TEMPORARY and other files after recovery of reloadnd. How to remove all the NT Authority and values conflict not for Vista?

    Written System Information report to the: 04/02/10 14:46:39
    System name: DANIEL-PC
    [Environment variables]

    Value of the variable username
    ComSpec %SystemRoot%\system32\cmd.exe 
    NO. FP_NO_HOST_CHECK 
    NUMBER_OF_PROCESSORS 2 
    OnlineServices Services online 
    Windows_nt OS 
    PATHEXT .COM; EXE;. BEATS;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH;. MSC 
    Pavilion PCBRAND 
    PLATFORM MCD 
    PROCESSOR_ARCHITECTURE x 86 
    PROCESSOR_IDENTIFIER x 86 family 15 model Stepping 1 AuthenticAMD 104 
    PROCESSOR_LEVEL 15 
    PROCESSOR_REVISION 6801 
    C:\Program Files\Common SharedCOM Shared\9.0\Roxio Central33\ RoxioCentral 
    %SystemRoot%\Temp TEMP 
    TMP %SystemRoot%\TEMP 
    SYSTEM USERNAME 
    E: USERPART 
    windir % SystemRoot % 
    TEMP %USERPROFILE%\AppData\Local\Temp NT AUTHORITY\SYSTEM
    TMP %USERPROFILE%\AppData\Local\Temp NT AUTHORITY\SYSTEM
    TEMP %USERPROFILE%\AppData\Local\Temp Daniel-PC\Daniel

    Hi mtgbiker,

    (a) what exactly you are trying to do?

    (b) is connected to the domain of the computer?

    Please provide more details about your question.  If you feel that your system is unstable, you can use SFC (System File Checker) scan utility, which allows administrators to perform an analysis of all protected resources to make sure they are the correct version.

    Whether SFC should find all incorrect versions in one of these protected resources, SFC will be replaced by the correct versions.

    You can still run a SFC scan on the windows vista computer. To run a scan suite SFC as follows:

    (a) click Start and in the start search bar type cmd, right-click on the command prompt icon in the box programs and then click Run as administrator.

    (b) at the command prompt type sfc/scannow , and then press ENTER.

    Thank you, and in what concerns:

    Ajay K

    Microsoft Answers Support Engineer

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Create the directory objects with the path environment variable

    I need to create a directory object and wonder if it's valid to use an environment variable in the nom_chemin?  Example:

    CREATE or REPLACE DIRECTORY XMLDIR AS ' $ORACLE_HOME/rdbms/xml ";

    I read the following in the Oracle 11.2 documentation, but it is is not clear to me if an environment variable is allowed or not.  My reason for wanting to use a variable of environment as opposed to hard coding is for when I update, I have no back reference to the old House of Oracle.

    nom_chemin

    Specify the name of the full path of the directory on the server where the operating system files are located. Single quotes are required, so that the path name is case-sensitive.

    > I see that many developers have created objects to directory with the environment variables in the path.

    Please post reproducible test

    You know & realize that the Oracle database is independent of the operating system (OS)?

    Environment variable is OS specific.

  • After that the changing environment variables get various issues which cannot find %windir%\system32\rundll32.exe errors

    After you sort a few UAC problems on the computer of a friend (see http://answers.microsoft.com/en-us/windows/forum/windows_7-security/a-domain-user-in-the-local-administrators-group/745fc28d-7573-4414-aa4e-657054fc62dd) we hit another problem.

    After modification of the environment variables, it seems that windows loses some environment variables until a disconnection/connection is made. If you open a back command prompt and type the value, there are far fewer variables and things like %windir%\System32 disappeared. If you try to open the variable dialog environment again, you get a 'cannot find windir%\system32\rundll32.exe %. The same thing happens if you restart in safe mode. After a closed session/login, added environment variable are there, so they are saved, it just seems like it won't let windows none of them until a new logon.

    One oddity is that the variable env pathext has different things in after things go wrong. He started as a

    PATHEXT = .COM; EXE;. BEATS;. CMD;. VBS;. VBE;. JS;. JSE;. WSF;. WSH;. MSC. ; PY

    and after adding a new use env variable and opening a new prompt back, together said

    PATHEXT = .COM; EXE;. BEATS;. CMD;. VBS;. JS;. WS;. MSC

    Is this a sign of a register messed up, that could have caused the original problem, or something else? Any ideas on how to diagnose this problem? Any help much appreciated. I have left this in the Security section, as it seems that it could be linked to the original problem, but am happy to move.

    Any help much appreciated.

    I don't know what caused your problem, but your original path certainly seemed excessively long. There is a lot of overlap in it you need to remove - see below. In addition, having records of remote machines at the beginning of your path will cause the machine to slow down a lot. You should remove them.

    SystemRoot

    %SystemRoot%\System32
    %SystemRoot%\System32\Wbem
    %SystemRoot%\system32\WindowsPowerShell\v1.0\
    \\cpi3s002\dcumklw\mklw10.1.1.022\slib\nt9
    \\cpi3s002\parasolid\v23.0\intel_nt\base\dll
    \\cpi3s002\spatial\run_time_dlls\acis210.vc9\NT_vc9_DLL
    C:\Bin
    C:\Program Files (x 86) \Common Files\Roxio Shared\DLLShared
    c:\Program Files (x 86) \Microsoft SQL Server\100\Tools\Binn\
    C:\Program Files (x 86) \Microsoft Visual Studio 8\Common7\IDE
    C:\Program Files (x 86) \Microsoft Visual Studio 8\Common7\Tools
    C:\Program Files (x 86) \Microsoft Visual Studio 8\Common7\Tools
    C:\Program Files (x 86) \Microsoft Visual Studio 8\Common7\Tools\bin
    C:\Program Files (x 86) \Microsoft Visual Studio 8\SDK\v2.0\bin
    C:\Program Files (x 86) \Microsoft Visual Studio 8\VC\BIN
    C:\Program Files (x 86) \Microsoft Visual Studio 8\VC\PlatformSDK\bin
    C:\Program Files (x 86) \Microsoft Visual Studio 8\VC\VCPackages
    C:\Program Files (x 86) \Microsoft Visual Studio 9.0\Common7\IDE
    C:\Program Files (x 86) \Microsoft Visual Studio 9.0\Common7\Tools
    C:\Program Files (x 86) \Microsoft Visual Studio 9.0\VC\BIN
    C:\Program Files (x 86) \Microsoft Visual Studio 9.0\VC\VCPackages
    c:\Program files (x 86) \microsoft visual studio\vss\win32
    C:\Program Files (x 86) \microsoft visual studio\vss\win32
    c:\Program files (x 86) \microsoft visual studio\vss\win32
    C:\Program Files (x 86) \QuickTime\QTSystem\
    C:\Program Files (x 86) \Windows Resource Kits\Tools\
    c:\Program Files
    C:\Program Files\Microsoft SDKs\Windows\v6.0A\bin
    c:\Program Files\Microsoft SQL Server\100\DTS\Binn\
    c:\Program Files\Microsoft SQL Server\100\Tools\Binn\
    C:\Program Files\TortoiseHg\
    C:\Python26
    C:\Python26\
    c:\users\dcm\tools
    C:\users\dcm\tools
    C:\users\dcm\tools
    C:\users\dcm\Tools\con3\
    C:\users\dcm\tools\performance
    c:\users\dcm\tools\perl\5.8.4\bin
    c:\users\dcm\tools\perl\5.8.4\bin
    C:\users\dcm\tools\perl\site\bin
    c:\users\dcm\tools\udm
    C:\WINDOWS
    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
    C:\WINDOWS\Microsoft.NET\Framework\v3.5
    C:\Windows\System32
    C:\WINDOWS\System32\Wbem
  • get the oracle environment variables by using the plsql code

    Hey Geeks,

    Can someone tell me how to get an environment variable Oracle (for example db_cache_size) from inside a plsql code or via a sql query block?

    Thank you
    Prabhu

    You can query the parameter$ v.
    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14237/dynviews_2012.htm#REFRN30176

    select * from v$parameter where name like '%cache%';
    
  • Environment variable is not set after the installation of oracle 11i...

    Hello

    I installed oracle 11i on .After setting environment variable LINUX4AS is not defined. like $OAD_TOP, $APPL_TOP.

    HELP PLZ

    Hello

    What env file that you are trying to source? How do you source the env file?

    Question ".» //APPSORA.env and then check.

    Kind regards
    Hussein

  • Cannot write to the TEMP environment variable path

    I am trying to install PostgreSQL 9.3 program and I get this error whenever I try to run the application. Please give me a solution.

    It still does not work. Another error occurs when I try to add the new value (C: \ Windows-System32------vbscript.dll): write new content of the value error. Thanks anyway. I hope that I managed to install. Or perhaps there is another solution.

    Hi, Roxane, I had the same problem as yours. This is how I fixed it

    (i) to resolve "error writing new content of value" (you later), please provide access to yourself. Follow this: http://www.mydigitallife.info/grant-read-write-full-control-permissions-on-registry-keys-fix-cannot-import-and-access-denied-error-in-regedit/

    (II) then repeat the steps proposed by Shinesh Padikal above.

    (III) if the problem persists, select windows script host using: https://in.answers.yahoo.com/question/index?qid=20110529123006AABGsYv

    (IV) it should work now, Bravo!

  • Environment variable PATH exceeds the length of the operating system limit

    Hello everyone

    I am trying to install Oracle 11 g client on Windows 7

    I get below error when checks prior to Installation

    = Error description =.
    Environment variable: 'PATH' - this test checks to see if the length of the 'PATH' environment variable does not exceed the recommended time.
    Expected value
    : 1023
    Real value
    : 1069
    List of errors:
    -
    PRVF-3929: Add the Oracle binary location to the PATH environment variable will exceed the length limit of the BONES of "1023" of the variable on the node 'CNF0123H5R' - Cause: the installer must update the environment variable PATH to include the value of '% ORACLE_HOME%/bin';. However, this will cause a path exceeds the maximum allowed length that allows the operating system. -Action: Make sure the sum of the length of your current PATH environment variable and that "% ORACLE_HOME%/bin;" does not exceed the limit of the operating system. Restart Setup after correcting the value of environment variable.

    =============

    How to solve this error or I would say rather alert. I do not want to proceed with the installation, ignore him.

    What are the risks to ignore it.

    Thank you

    SAPH

    Do you mean that the removal of the unnecessary versions sql server solve the problem?

    It of a serious issue or are you just trying to make fun of me?
    For you rhetorical question: if I would have taken it without being the solution, I wrote this down?

    -----------
    Sybrand Bakker
    Senior Oracle DBA

  • Get the comment, "an error prevents photo library to save this image.

    I tried to edit my photos in Windows Photo Gallery and it used to work until about a month.  I always and only used the Photo Gallery program, but now it won't let me to save my changes that I make to photos.  I get the comment, "an error prevents photo library to save this image.  I have read many of the questions that are similar and have done the following...

    1. click on the round of departure
       
    2 type folder options in the search box, and then click the program folder Options
       
    3. Select the view tab
       
    4. in the window of advanced settings, under hidden files and folders, select Show files and folders
       
    5. click on OK
      
    6. go to the following folder (% of user is the name of the account that has the problem):

    C:\Users\%User%\AppData\Local\Microsoft\Windows Photo Gallery

    7. copy all the files here to another location, as a back up and then delete them from the directory of the Windows Photo Gallery

    Once the files are deleted, try to start Windows Photo Gallery.

    After that, go back to folder options and select do not show the hidden files and folders

    This does not work and I don't know what else to do.  Could someone help me please!

    Thank you
    Scarlet

    I tried to edit my photos in Windows Photo Gallery and it used to work until about a month.  I always and only used the Photo Gallery program, but now it won't let me to save my changes that I make to photos.  I get the comment, "an error prevents photo library to save this image.  I have read many of the questions that are similar and have done the following...

    1. click on the round of departure
       
    2 type folder options in the search box, and then click the program folder Options
       
    3. Select the view tab
       
    4. in the window of advanced settings, under hidden files and folders, select Show files and folders
       
    5. click on OK
      
    6. go to the following folder (% of user is the name of the account that has the problem):

    C:\Users\%User%\AppData\Local\Microsoft\Windows Photo Gallery

    7. copy all the files here to another location, as a back up and then delete them from the directory of the Windows Photo Gallery

    Once the files are deleted, try to start Windows Photo Gallery.

    After that, go back to folder options and select do not show the hidden files and folders

    This does not work and I don't know what else to do.  Could someone help me please!

    Thank you
    Scarlet

    ==============================
    Here's what I have on the subject... maybe a
    suggestions will work for you...

    Good luck...

    Windows Photo Gallery...
    Cannot save modified photos...
    possible solutions...

    --

    (1) I saw reports that this problem may be related
    Kodak Easy Share software. Installation "Kodak
    Single-action Version 8 for Windows from the
    the following link may be the solution.

    Kodak Easy Share 8 software version
    http://www.kodak.com/eknec/PageQuerier.jhtml?PQ-path=130&PQ-locale=en_US&_requestid=5320
    (FWIW, it's a good idea to create a system)
    restore point before installing software or updates)

    --

    (2) I've seen reports that could clarify the next steps
    until the question... Right click the library icon and
    Choose "Run as Administrator".

    --

    (3) I copied the info from a tech forum on
    the net... I don't know if it works, but maybe it's
    worth a try:

    A. right click on Task Manager open the
    taskbar on the bottom of your screen and choosing
    The task in the menu Manager.

    B. click the tab process, along the upper part of the
    The Task Manager screen.

    C. in the process tab, select the corresponding button at the bottom
    left of the screen that says "show processes of.
    all users"and click on it. Click 'Continue' to the UAC
    the prompt that appears.

    D. the screen should turns off a moment, then
    back with much more than process listed. Click
    the "Command line" column to sort the list and
    Search:

    "C:\Program Files\Windows Media Player\wmpnetwk.exe"

    Read the description in the next section on:

    Windows Media Sharing Service reader network

    F. click on this process. Click the end «»
    Treat button"at the bottom right of the screen.
    Confirm 'End process' if necessary.

    You should now be able to save your changes to
    your photos normally. The bad news is that this
    should be performed whenever you start or restart Vista.
    And I don't know how to prevent the situation from
    in the first place of loading.

    --

    4) published by: artologik
    The solution came to me when I could not recreate
    the problem on a laptop with Vista Home.
    Everything I could compare, I noticed that the
    %Path% environment variable was not between different
    the 2 machines.

    I guess that WLPG relies on the dll must be found
    on the way to the system; When not found, it must return
    Back to ' base or incomplete "library finds it
    the default specific paths or the user. The solution for
    me has been to ensure the entire path system
    to the folders in the order appropriate.

    To fix, follow these steps:

    A. right click on the COMPUTER icon on the
    desktop and choose PROPERTIES

    B. choose ADVANCED SYSTEM SETTINGS

    C. Si you are prompted by UAC to allow, go ahead.
    and ALLOW

    D. click on ENVIRONMENT VARIABLES...

    E. in the bottom half, under SYSTEM VARIABLES,.
    Find the PATH variable and highlight the

    F. click the button CHANGE

    G. ensure that what starts with
    % SystemRoot%\system32;%SystemRoot%;

    H. ensure you that a semicolon separates each entry.

    I. click OK three times

    J. restart the computer

    K. and here.
    John Inzer - MS - MVP - digital media experience

  • Translate the report by updating the session WEBLANGUAGE variable

    Hi all

    My requirement is to have a report in different languages. The easiest way to do so is to create different versions of a report by language. But I think that this is not the ideal solution, because OBIEE can deal with different languages.

    I won't translate the full presentation layer, because it's for one report only. So, do not use the metadata externalize strings feature. I'll use the captions feature translate rather, as described here: http://gerardnico.com/wiki/dat/obiee/localization/obiee_webcat
    It works very well.

    Now, I want to go a little further. To see the report in another language, the user must change the language of its session (NQ_SESSION. WEBLANGUAGE). Using the standard features, the user must go to the screen of my account, change, its language, then we must refresh the dashboard.

    I don't think that it is very user friendly, so I want to simplify this, by adding a language invites to the dashboard. My idea is to update the session variable WEBLANGUAGE with a variable of presentation in a line of dashboard, as described here: http://oraclebizint.wordpress.com/2008/02/25/oracle-bi-ee-101332-updating-session-variables-from-dashboards-using-presentation-variables/

    But the result is the session variable is updated, but the captions are not translated. So it doesn't seem to work...

    Have you any ideas on why it does not work, or you have another solution?

    Thank you!

    Kind regards
    Stijn

    No, your answer is completely stupid.

    For me, it works on a dashboard page:

    In French:
    http://host:9704/Analytics/saw.dll?dashboard&PortalPath=YourPath&page=YourPage&locale=FR

    To Engels:
    http://host:9704/Analytics/saw.dll?dashboard&PortalPath=YourPath&page=YourPage&locale=en

    In Dutch:
    http://host:9704/Analytics/saw.dll?dashboard&PortalPath=YourPath&page=YourPage&locale=NL

    Then we must work for the Url to go but your edit the local for the complete environment variable.

    And it made me think to have a complete translation, you must use the LOCAL variable
    and not WEBLANGUAGE.

    See you soon
    Nico

    Just to add that the local value is maybe better with en_GB, fr - fr,...

    Published by: gerardnico on July 13, 2010 11:58 - bad locale value

  • Unable to save my documents properly - what is a Temp environment Variable?

    Somehow, my computer at home, using Vista Home Premium, started making of my new documents 'Read only' and I'm unable to save after you change. It gives me the error message "Word could not create the work file. Check the temp environment variable. "It's extremely frustrating, as I am in an active job search and need to change my letters, etc., all the time at the moment.

    Hi Lpoelle,

    You can follow the procedure of article that could solve the problem.

    http://support.Microsoft.com/kb/822005

    http://social.answers.Microsoft.com/forums/en-us/vistaprograms/thread/522fe29d-725D-4cf5-a96a-d27113d8db69

    For more help on this issue, you can post your questions in the Office Discussion groups. Please visit the link below to find a community that will provide the support you want.

    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx

    Hope this has been helpful.

    Bindu S - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Windows system environment variables in "Sql * more»

    Can I use/reference of Windows system environment variables in "Sql * more?
    For example, I want to create sql-script runs in the database server computer that variable is "ORA_HOME", uses this value to perform a few sentences of sql/plsql.

    Oracle 10g personal, Windows 7.

    Edited by: CharlesRoos the 12.11.2010 17:28

    CharlesRoos wrote:
    The business problem:
    I created 2 databases in my computer. The two databases needs storage created by a script. The names of data files (.dbf files) of storage are the same for the two database. The two database has its own directory, where it holds data for the moment files. At the moment the data files for Database1 are in the folder something like '% ORACLE_HOME%"\oradata\%databasename1%\*.dbf and the second base of data has its data files in the other folder, somewhere '' % ORACLE_HOME%"\oradata\%databasename1%\*.dbf'. Now I want the script to create the tablespace called "INDX" with the same data file name "indx1.dbf" in the two database. If in the two documents mentioned the 'indx1.dbf' file must be created by the script. I think the script must do following:

    1. get ORACLE_HOME.
    2. connect to database "databasename1"
    3. EXECUTE IMMEDIATE "Create TableSpace INDX....file=%ORACLE_HOME% || databasename1 || indx1.dbf"
    4. connect to database "databasename2"
    5. EXECUTE IMMEDIATE "Create TableSpace INDX....file=%ORACLE_HOME% || databasename2 || indx1.dbf"
    

    I don't have database Oracle close more, if the code was pseudo-code.

    ---

    I do not understand how to use?-shortcut.

    OK, my first impression is ' why must even be scripted? Creation of new spaces of storage is usually a one-off operation.

    But what side this substitution of sqlplus command line variables. This example is Linux, but works on Windows with the change in the way environment variables are referenced:

    * echo nix - $myvariable
    Windows - echo myvariable %

    First of all, sqlscript to create the TS. Note the use of the substitution variable '& 1 '.
    {code}
    [oracle@vmlnx01 ~] $ cat makets.sql cat
    set echo on the comments on check on trimsp on
    Guest & 1
    --
    CREATE TABLESPACE EDSTEST PETIT_FICHIER
    DATAFILE ' / ora01/oradata/&1/edstest.dbf'
    SIZE 5 M
    REUSE
    AUTOEXTEND ON
    NEXT 1280K
    MAXSIZE 32767M
    LOGGING
    LOCAL MANAGEMENT MEASURE
    SEGMENT SPACE MANAGEMENT AUTO
    ;
    --
    Drop tablespace edstest
    including content and data files
    ;
    output
    {code}

    Thus, the OS invites: note that the @ is separated by a space, which makes a parm from command line instead of the part of the connection string

    {code}
    [oracle@vmlnx01 ~] $ export myparm = vlnxora1
    [oracle@vmlnx01 ~] $ sqlplus system/pswd @makets $myparm

    SQL * more: Release 10.2.0.4.0 - Production on Fri Nov 12 18:13:05 2010

    Copyright (c) 1982, 2007, Oracle. All rights reserved.

    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options

    SQL > prompt & 1
    vlnxora1
    SQL >--
    SQL > CREATE TABLESPACE EDSTEST PETIT_FICHIER
    2 DATAFILE ' / ora01/oradata/&1/edstest.dbf'
    3 SIZE 5 M
    4 REUSE
    5 AUTOEXTEND ON
    6. THE NEXT 1280K
    7 MAXSIZE 32767M
    8 LOGGING
    MEASURE 9 LOCAL MANAGEMENT
    10 SEGMENT SPACE MANAGEMENT AUTO
    11;
    2 old: DATAFILE ' / ora01/oradata/&1/edstest.dbf'
    2 new: DATAFILE ' / ora01/oradata/vlnxora1/edstest.dbf'

    Created tablespace.

    SQL >--
    SQL > drop tablespace edstest
    2 content and data files including
    3;

    Tablespace has fallen.

    SQL > exit
    Disconnected from the database to Oracle 10 g Enterprise Edition Release 10.2.0.4.0 - Production
    With partitioning, OLAP, Data Mining and Real Application Testing options
    [oracle@vmlnx01 ~] $
    {code}

Maybe you are looking for

  • Is there a fix for the black photos in iMovie?

    So, I see a ton of questions about it, but not yet a miracle. Anyway I import my photos into iMovie and they do not work. Imovie 11 I and my OS is OS X El Capitan 10.11.15

  • Crash of games before starting

    Hi guys, I get this problem: http://img163.imageshack.us/img163/3342/screenshot20100225at342.PNG I am running Windows 7 32 bit on VMWare Fusion. I have a dual-core 3.06 ghz intel iMac ATI Radeon 4670Hd graphics card 8 GB RAM Help, please! All I want

  • DV8T 1100 CTO graphic problems after replacing the motherboard

    Windows 7 Pro. Built 3 years ago this month. Motherboard is dead because of damage of water, but not before I could test the CPU and RAM, which has survived intact. Bought a NEW replacement MB of HP parts store. Put it in. It was obvious that the mac

  • Failed to backup WIndows 7

    Backup Windows 7 Ultimate (64 bit) was working fine until recently. Now, I get the following: Check your backup A snapshot could not be created. Check the event logs "VSS" and "SPP" application for more information. (This has turned into a waist size

  • Cannot run the file due to error message 'D3dx9_38.dll' is missing or damaged.

    Hello I need help...  I am currently using a third party games emulator and I couldn't run my ROM because of this message "D3dx9_38.dll is missing or damaged. It's something that happened to me a few months ago and I was able to solve this problem wi