Output .bat-file to console AND logfile.txt

Hello,
in my .bat file i have added the following to a command : >> c:\1.txt
This will log the output to 1.txt, but not to my console/screen anymore.
What is the command to have the output to the console AND 1.txt?
Thx

There isn't one that is intrinsic to cmd.exe.  If you want you can either search for a unix TEE utility port to Windows or use the following hybrid VBS/batch procedure to do that ...
:: TeeExamp.cmd
@echo off
:: Setup
call :BuildVBS
:: Your command(s) goes here
dir *.txt | %TEE% > test.txt
:: cleanup & exit
del %temp%.\T.vbs & set "TEE=" & exit /b
:BuildVBS
set TEE=cscript //nologo %temp%.\T.vbs
(echo set con = createobject("scripting.filesystemobject"^)_
echo .opentextfile("con:", 2^)
echo do until wsh.stdin.atendofstream
echo s = wsh.stdin.readline
echo wsh.echo s : con.writeline s
echo loop
) > %temp%.\T.vbs
Tom Lavedas

Similar Messages

  • About the bat file to start and stop the weblogic server10.3

    I am using windows 2003 os.
    i installed the WLS 10.3 .
    can anyone help me how to write the bat file for starting and stoping the weblogic server instance.so that it willl run as background service.
    I am new to this .Please suggest me
    Any help is appreciated.
    Thanks
    Sailaja.

    Hi David,
    yes.i am talking about Admin server.
    when i am creating the new domain,i didn't encounter any prompt asking me to run the Admin server as windows services.why i am not getting this prompt?where exactly i will get this prompt while creating domain.
    i am using the weblogic 10.3
    how can i make the admin server as windows services.
    Thanks
    Sailaja.
    Edited by: sj0609 on Dec 2, 2008 4:02 PM

  • Windows and bat files

    Hi
    I've made some bat files to compile java sources and run the program.
    After the termination of the program i want the bat file to stop and let me see the messages on console but it closes automatically.
    I tried put pause at the end of the bat file but it does not work.
    Just after finish the java program the console exits and never executes the pause command.
    Why ?
    how Can I do ?

    I tried this one windows XP and it worked fine:
    Test program: public class Test {
        public static void main(String[] args) {
         System.out.println("Test program running");
         System.exit(1);
    }Batch file (called runtest.bat): java -classpath c:\temp Test
    pauseThen I created a shortcut to "runtest.bat". It opened a console window and paused with this output: C:\temp>java -classpath c:\temp Test
    Test program running
    C:\temp>pause
    Press any key to continue . . .How are you running the batch file? Is it from a shortcut on Windows, or from a third party tool, like an editor?
    What is the command line you're using to run the batch file?
    Tim

  • Create bat file

    I'm trying to dynamically create a '.bat' file within SSIS and to execute it.    I know how to execute it, but would anyone have an example of how to create it?

    File.CreateText Method
    Create a .txt file if doesn't exist, and if it does append a new line
    Regards!
    SERGIO SANCHEZ ARIAS

  • How to run a .bat file with string arguments?

    Hi,
    I have a problem in running a .bat file with string arguments
    - the file is XPathOverlap.bat with 2 stringarguments like: "/a" and "//a"
    - the cmd: c:\Downloads>XPathOverlap "//a" "/a" works fine.
    - here is my code:
    public static void test(){
         try{
              String loc1 = "//a";
              String loc2 = "/a";
              String[] cmdarray = {"c:\Downloads\XPathOverlap", loc1, loc2};
              Process p = Runtime.getRuntime().exec(cmdarray);
              p.waitFor();
              System.out.println("Exit Value: "+p.exitValue());
              //code to print command line replies
              InputStream cmdReply = p.getInputStream();
              InputStreamReader isr = new InputStreamReader(cmdReply);
              BufferedReader br = new BufferedReader(isr);
              String line = null;
              while((line=br.readLine())!=null){
                   System.out.println(line);
         }catch(Throwable t){
              t.printStackTrace();
    How can i run this bat file with 2 string arguments?

    Hi,
    thanks thats good and helpfully
    so this code works:
    String loc1 = "\"/a\"";
    String loc2 = "\"//a\"";
    String path = System.getenv("MuSatSolver");
    String[] cmdarray = {"cmd.exe","/C",path+"XPathOverlap.bat", loc1, loc2};
    Process p = Runtime.getRuntime().exec(cmdarray);
    p.waitFor();
    System.out.println("Exit Value: "+p.exitValue());
    InputStream cmdErr = p.getErrorStream();
    InputStreamReader isrErr = new InputStreamReader(cmdErr);
    BufferedReader brErr = new BufferedReader(isrErr);
    String line2 = null;
    while((line2=brErr.readLine())!=null){
         System.out.println("Error: "+line2);
    but now i have another problem, this is the output:
    Exit Value: 0
    Error: java.lang.NoClassDefFoundError: fr/inrialpes/wam/treelogic/_xml/XPathOverlap
    Error: Exception in thread "main" The Exit value is 0, so the process terminates normally.
    I have tested this bat file in cmd and there it works correctly.
    Why do i get this error message?

  • Firefox Does Not Open a Link Pointing to a .bat file on a the network drive on local website

    Make and model of network drive?
    --HP Priliant DL580 G5
    How is you network set up?
    --Novell Netware 6.5
    What router are you using?
    --Cisco router c3825
    What are you trying to do with the batch file?
    --simple program that launches a batch file that is in the network drive
    Interent Explorer shows the following when launching the link.
    >File Download-Security Warning
    >do you want to run or save this file?
    >Name: johndoe.bat
    >Type: MS-DOS Batch File, 308 bytes
    >From T:\xx\xxxbat
    Has this worked in previous versions of FireFox?
    >no and it does not work with newer v11.
    Whats the issue with using IE if it works from IE?
    >we have users that use FF on regular bases and just for a link to switch browser it is not user friendly. all though we are supporting two browsers we do not want to take FF out of network.
    Is there a reason you want to use FireFox?
    >FF has gained popularity in our agency and it would be best to have this link work on FF as well.
    --HERE IS THE CODE--
    <td valign="top"><a href="file:///T:/Geosupport Desktop Edition/bat/Goat.bat"
    type="application/bat" target="_blank"><img src="../../images/technology/Goat.gif" alt="Goat" width="32" height="28" hspace="4" vspace="2" border="0" align="left"></a>Geosupport On-Line Address Translator, or GOAT, is an interactive Windows application that allows the user to request geographic data through Geosupport function calls. Use of GOAT requires no programming skills and provides valuable information to the casual user.<br>

    Firefox sees that (at least local or network dive located) .bat files are text and renders them as such. To download it as a .bat file, use save page as, (or Control-S) change "text file" to "all files" and type .bat onto the end of the filename, then hit save. Not ideal I know, but better than nothing.

  • SQL PLUS log input and output to file

    What is the way to log every activity in sqlplus, input and output to a file (interactively).
    I managed to do it using rlwrap and tee but the only problem is, it is displaying the password and logging it into file as well :D. I can remove it from the logfile but am unable to prevent from showing the password.
    I hope many might have wanted to do this, and some might have been succeeded. Please share your ideas!

    N:\tools>sqlplus siva
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu May 19 03:12:04 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Enter password: password
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> exit
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining optionsThe password is displayed on screen and it is in the log file as well.
    Here is the some environmental setup;
    I've installed cygwin with rlwrap package
    I've renamed the original sqlplus.exe to _sqlplus.exe
    I've placed mysqlplus.bat and sqlplus.bat in N:\tools and this location includes in the pathwhere sqlplus.bat contains
    @echo off
    rlwrap -a"Enter" mysqlplus.bat %*perhaps this is more related to linux commands but I want to log input and output of sqlplus!
    :)

  • Writing and reading txt file, GUI components

    <b>HI GUYS I AM JUST NEW TO JAVA AND I AM TRYING TO LEARN SOME MORE IN JAVA. SO I NEED HELP FROM YOU GREAT GUYS WHO KNOWS MORE & MORE THING THAN ME. I CODE A GUI FOR THIS PROGRAM. THE CODE IS BELOW. <b/>
    This program has to read a txt file to create Food objects which will consist of a food name, a serving size, and a number of calories. A text file is read which contains the calories contained in specific food items. From this data, an array of Food objects will be created and used to populate a combo box for user selection. The Food objects will also be used in calculating the balance calories for a given user on a given day.
    User input will be used to create User objects which will be user name, age, gender, height, weight, and Food Diary objects (composition). The Food Diary objects will consist of Date (composition), Food object (composition), number of servings, and a balance. Food Diary objects will consist of the activity on any given day (see text area in sample output screen below). All User objects are saved to a file as objects and can be retrieved on subsequent runs of the program.
    The program will calculate the number of calories the user is allowed per day to maintain the user�s current weight (see below for formula to use for this).
    BMRMen = 66 + (13.7 * weightPounds/2.2) + (5 * heightInches*2.54) - (6.8 * age)
    BMRWomen = 655 + (9.6 * weightPounds/2.2) + (1.8 * heightInches*2.54) - (4.7 * age)
    GUI CODE
    <code>
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class FoodDiaryGUI extends JFrame implements ActionListener {
    JLabel lblName, lblAge, lblWeight,lblHeight,lblFemale,lblMale,lblFood;
    JTextField txtName, txtAge, txtWeight,txtHeight;
    JButton btnSave, btnNewUser;
    JTextArea outputArea;
    JComboBox cbFood;
    int currentIndex=0, lastIndex=4;
    public FoodDiaryGUI()
    super ("Food Diary Calculator");
    lblName= new JLabel("Name: ");
    lblAge= new JLabel("Age: ");
    lblWeight= new JLabel("Weight(lbs): ");
    lblHeight= new JLabel("Height(inches): ");
    lblFemale= new JLabel("Female: ");
    lblMale= new JLabel("Male: ");
    lblFood= new JLabel("Choose a Food: ");
    txtName= new JTextField(15);
    txtAge= new JTextField(3);
    txtWeight= new JTextField(6);
    txtHeight= new JTextField(6);
    outputArea= new JTextArea(9,20);
    cbFood= new JComboBox();
    cbFood.setPreferredSize(new Dimension(100, 20));
    Container c = getContentPane();
    JPanel northPanel = new JPanel();
    northPanel.setLayout(new FlowLayout());
    btnSave= new JButton("SAVE");
    northPanel.add(btnSave);
    btnNewUser= new JButton("NEW USER");
    northPanel.add(btnNewUser);
    btnSave.addActionListener(this);
    btnNewUser.addActionListener(this);
    JPanel centerPanel = new JPanel();
    centerPanel.setLayout(new FlowLayout());
    centerPanel.add(lblName);
    centerPanel.add(txtName);
    centerPanel.add(lblAge);
    centerPanel.add(txtAge);
    centerPanel.add(lblWeight);
    centerPanel.add(txtWeight);
    centerPanel.add(lblHeight);
    centerPanel.add(txtHeight);
    centerPanel.setLayout(new FlowLayout());
    JRadioButton rbMale = new JRadioButton(maleString);
    birdButton.setMnemonic(KeyEvent.VK_M);
    birdButton.setActionCommand(maleString);
    birdButton.setSelected(true);
    JRadioButton rbFemale = new JRadioButton(femaleString);
    catButton.setMnemonic(KeyEvent.VK_F);
    catButton.setActionCommand(femaleString);
    //Group the radio buttons.
    ButtonGroup group = new ButtonGroup();
    group.add(rbMale);
    group.add(rbFemale);
    //Register a listener for the radio buttons.
    rbMale.addActionListener(this);
    rbFemale.addActionListener(this);
    public void actionPerformed(ActionEvent rb) {
    picture.setIcon(new ImageIcon("images/"
    + rb.getActionCommand()
    + ".gif"));
    radioGroup.add(rbMale);
    radioGroup.add(rbFemale);
    centerPanel.add(rbMale);
    centerPanel.add(rbFemale);
    centerPanel.add(lblFood);
    centerPanel.add(cbFood);
    JPanel southPanel = new JPanel();
    southPanel.setLayout(new FlowLayout());
    southPanel.add (outputArea);
    c.add(northPanel,BorderLayout.NORTH);
    c.add(centerPanel,BorderLayout.CENTER);
    c.add(southPanel,BorderLayout.SOUTH);
    setSize(650,300);
    setVisible(true);
    //add listener to button components.
    public void actionPreformed(ActionEvent e)
    if (e.getSource()==btnSave)
    currentIndex++;
    currentIndex--;
    public static void main (String[] args)
    FoodDiaryGUI application = new FoodDiaryGUI();
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    public void actionPerformed(ActionEvent arg0) {
    // TODO Auto-generated method stub
    </code>
    THE .txt file is as:
    1000 ISLAND, SALAD DRSNG,LOCAL*1 TBSP*25
    1000 ISLAND, SALAD DRSNG,REGLR*1 TBSP*60
    100% NATURAL CEREAL *1 OZ*135
    40% BRAN FLAKES, KELLOGG'S*1 OZ*90
    40% BRAN FLAKES, POST*1 OZ*90
    ALFALFA SEEDS, SPROUTED, RAW*1 CUP*10
    ALL-BRAN CEREAL*1 OZ*70
    ALMONDS, WHOLE*1 OZ*165
    ANGELFOOD CAKE, FROM MIX*1 PIECE*125
    APPLE JUICE, CANNED*1 CUP*115
    i hope this forum site has to many java professionals and this problem is nothing for them. for me it is great.

    Stick to using a single userid and a single posting of a question:
    http://forum.java.sun.com/thread.jspa?threadID=731264&tstart=0

  • READING AND WRITING TXT FILE, GUI COMPONENTS.

    HI GUYS I AM JUST NEW TO JAVA AND I AM TRYING TO LEARN SOME MORE IN JAVA. SO I NEED HELP FROM YOU GREAT GUYS WHO KNOWS MORE & MORE THING THAN ME. I CODE A GUI FOR THIS PROGRAM. THE CODE IS BELOW.
    This program has to read a txt file to create Food objects which will consist of a food name, a serving size, and a number of calories. A text file is read which contains the calories contained in specific food items. From this data, an array of Food objects will be created and used to populate a combo box for user selection. The Food objects will also be used in calculating the balance calories for a given user on a given day.
    User input will be used to create User objects which will be user name, age, gender, height, weight, and Food Diary objects (composition). The Food Diary objects will consist of Date (composition), Food object (composition), number of servings, and a balance. Food Diary objects will consist of the activity on any given day (see text area in sample output screen below). All User objects are saved to a file as objects and can be retrieved on subsequent runs of the program.
    The program will calculate the number of calories the user is allowed per day to maintain the user�s current weight (see below for formula to use for this).
    BMRMen = 66 + (13.7 * weightPounds/2.2) + (5 * heightInches*2.54) - (6.8 * age)
    BMRWomen = 655 + (9.6 * weightPounds/2.2) + (1.8 * heightInches*2.54) - (4.7 * age)
    GUI CODE
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class FoodDiaryGUI extends JFrame implements ActionListener {
         JLabel               lblName, lblAge, lblWeight,lblHeight,lblFemale,lblMale,lblFood;
         JTextField          txtName, txtAge, txtWeight,txtHeight;
         JButton               btnSave, btnNewUser;
         JTextArea           outputArea;
         JComboBox          cbFood;
         int currentIndex=0, lastIndex=4;
         public FoodDiaryGUI()
              super ("Food Diary Calculator");
              lblName=               new JLabel("Name: ");
              lblAge=                    new JLabel("Age: ");
              lblWeight=               new JLabel("Weight(lbs): ");
              lblHeight=               new JLabel("Height(inches): ");
              lblFemale=               new JLabel("Female: ");
              lblMale=               new JLabel("Male: ");
              lblFood=               new JLabel("Choose a Food: ");
              txtName=               new JTextField(15);
              txtAge=                    new JTextField(3);
              txtWeight=               new JTextField(6);
              txtHeight=               new JTextField(6);
              outputArea=               new JTextArea(9,20);     
              cbFood=                    new JComboBox();
              cbFood.setPreferredSize(new Dimension(100, 20));
              Container c = getContentPane();
              JPanel northPanel = new JPanel();
              northPanel.setLayout(new FlowLayout());
              btnSave=               new JButton("SAVE");
              northPanel.add(btnSave);
              btnNewUser=               new JButton("NEW USER");
              northPanel.add(btnNewUser);
              btnSave.addActionListener(this);
              btnNewUser.addActionListener(this);
              JPanel centerPanel = new JPanel();
              centerPanel.setLayout(new FlowLayout());
              centerPanel.add(lblName);
              centerPanel.add(txtName);
              centerPanel.add(lblAge);
              centerPanel.add(txtAge);
              centerPanel.add(lblWeight);
              centerPanel.add(txtWeight);
              centerPanel.add(lblHeight);
              centerPanel.add(txtHeight);
              centerPanel.setLayout(new FlowLayout());
              JRadioButton rbMale = new JRadioButton(maleString);
         birdButton.setMnemonic(KeyEvent.VK_M);
         birdButton.setActionCommand(maleString);
         birdButton.setSelected(true);
         JRadioButton rbFemale = new JRadioButton(femaleString);
         catButton.setMnemonic(KeyEvent.VK_F);
         catButton.setActionCommand(femaleString);
         //Group the radio buttons.
         ButtonGroup group = new ButtonGroup();
         group.add(rbMale);
         group.add(rbFemale);
         //Register a listener for the radio buttons.
         rbMale.addActionListener(this);
         rbFemale.addActionListener(this);
         public void actionPerformed(ActionEvent rb) {
         picture.setIcon(new ImageIcon("images/"
         + rb.getActionCommand()
         + ".gif"));
              radioGroup.add(rbMale);
              radioGroup.add(rbFemale);
              centerPanel.add(rbMale);
              centerPanel.add(rbFemale);
              centerPanel.add(lblFood);
              centerPanel.add(cbFood);
              JPanel southPanel = new JPanel();
              southPanel.setLayout(new FlowLayout());
              southPanel.add (outputArea);
              c.add(northPanel,BorderLayout.NORTH);
              c.add(centerPanel,BorderLayout.CENTER);
              c.add(southPanel,BorderLayout.SOUTH);
              setSize(650,300);
              setVisible(true);
              //add listener to button components.
              public void actionPreformed(ActionEvent e)
                   if (e.getSource()==btnSave)
                        currentIndex++;
                        currentIndex--;
              public static void main (String[] args)
                   FoodDiaryGUI application = new FoodDiaryGUI();
                   application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              public void actionPerformed(ActionEvent arg0) {
                   // TODO Auto-generated method stub
    THE .txt file is as:
    1000 ISLAND, SALAD DRSNG,LOCAL*1 TBSP*25
    1000 ISLAND, SALAD DRSNG,REGLR*1 TBSP*60
    100% NATURAL CEREAL *1 OZ*135
    40% BRAN FLAKES, KELLOGG'S*1 OZ*90
    40% BRAN FLAKES, POST*1 OZ*90
    ALFALFA SEEDS, SPROUTED, RAW*1 CUP*10
    ALL-BRAN CEREAL*1 OZ*70
    ALMONDS, WHOLE*1 OZ*165
    ANGELFOOD CAKE, FROM MIX*1 PIECE*125
    APPLE JUICE, CANNED*1 CUP*115
    i hope this forum site has to many java professionals and this problem is nothing for them. for me it is great.

    Stick to using a single userid and a single posting of a question:
    http://forum.java.sun.com/thread.jspa?threadID=731264&tstart=0

  • Seek help and critique on Oracle expdp Windows command or bat file

    I tried to create a windows shell script to execute data dump work on daily basis. However, the command seems didn't work because it even didn't generate log file for me to identify the problem. Please give me a hand to solve this problem. Here is the windows command file and expdp parameter file.
    1. windows command file
    @echo off
    rem -----------------------------------------------------------------------
    rem Filename: My_Expdp.bat
    rem Purpose: Export tables of My database
    rem Date: 08-Jan-2010
    rem Author:
    rem -----------------------------------------------------------------------
    rem -- Set parameters --
    set EXPNAME=DB_Daily
    set PATH=F:\ORACLE\PRODUCT\10.2.0\ADMIN\MYDB\DPDUMP
    rem -- Keep 5 versions of the expdp log file --
    if exist %PATH%%EXPNAME%_4.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_5.log >NUL:
    if exist %PATH%%EXPNAME%_3.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_4.log >NUL:
    if exist %PATH%%EXPNAME%_2.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_3.log >NUL:
    if exist %PATH%%EXPNAME%_1.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_2.log >NUL:
    if exist %PATH%%EXPNAME%.log copy %PATH%%EXPNAME%.log %PATH%%EXPNAME%_1.log >NUL:
    rem -- Keep 5 versions of the expdp dump file --
    if exist %PATH%%EXPNAME%_4.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_5.dmp >NUL:
    if exist %PATH%%EXPNAME%_3.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_4.dmp >NUL:
    if exist %PATH%%EXPNAME%_2.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_3.dmp >NUL:
    if exist %PATH%%EXPNAME%_1.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_2.dmp >NUL:
    if exist %PATH%%EXPNAME%.dmp copy %PATH%%EXPNAME%.dmp %PATH%%EXPNAME%_1.dmp >NUL:
    rem -- Do the data pump --
    expdp sys/syspassword@db parfile=%PATH%my_expdp.par
    rem -- Add timestamp to top of export log file --
    date /T >timestamp.tmp
    copy timestamp.tmp + %PATH%%EXPNAME%.log %PATH%%EXPNAME%.tmp
    copy %PATH%%EXPNAME%.tmp %PATH%%EXPNAME%.log
    rem -- Cleanup temporary files --
    del %PATH%%EXPNAME%.tmp
    del timestamp.tmp
    ---parameter file
    DUMPFILE=My_DB.DMP
    LOGFILE=My_DB.LOG
    DIRECTORY=Mydb_DIR
    TABLE=My_table1, My_table2, My_table3
    CONTENT=DATA_ONLY
    JOB_NAME=My_DB_1

    Perhaps, this would help
    HTH
    -Anantha

  • Lenovo G50-70 - Log file: C:\windows\System32\Logfiles\Srt\SrtTrail.txt"

    I bought my laptop less than a month a go and I get this error message
    Log file: C:\windows\System32\Logfiles\Srt\SrtTrail.txt"
    I run chkdsk - c drive is fine but D drive, I get  a lot of - File Record segment ____ is unreadable. 
    I really need to know what my next move should be. 
    Many Thanks!
    Solved!
    Go to Solution.

    hi Antex,
    Welcome to the Forums.
    An unreadable File Record Segments means that a data on the HDD's cluster or sector is damaged and became unreadable. This is an indication of an imminent hard drive failure.
    If you're still able to boot into Windows, I recommend you backup important files ASAP and contact lenovo on how to go about getting the HDD replaced.
    In case that Windows doesn't boot-up anymore, you can:
    1. Follow this guide on how to backup your files
    or 
    2. See page 36 of the HMM on how to remove the drive and use an HDD enclosure (like this item) to convert into an external HDD to read the data on another PC.
    Support phone list
    Regards
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
    Follow @LenovoForums on Twitter!

  • I am getting a warning need more space on my disk. I have checked the Console and there have been 4000 thousand messages in my system log in the last 2 days. I have emptied as many files as possible.

    Hi
    I am getting a warning on opening my mac saying I need more space as my setup disk is full.  I have emptied many files as well as my Trash.  I am planning to get an external drive for my photos, but it has been suggested that I check Console and under the system log the following message (of which they say 4000 messages have been logged in 2 days) '06/06/2014 16:08:23.341 com.apple.dynamic_pager: dynamic_pager: Need more space on the disk to enable swapping'.  This is a copy of one of the items.  It is from the system log.  I really do not think I have enough files to warrant this warning, with the exception of photos.  My storage shows 143 MB free out of 120.47. Thanks for any help.

    First off, no MacBook Air can run 10.3 or earlier.
    Secondly, are you sure you only have 143MB of storage free?  That's seriously low.  With MacBook Airs of 120 GB hard drives, or even 140 GB which is often the case when it says out of 120, you shouldn't allow your free space to go down below 20 GB.  MB is 1024 fold less than a GB.  So if you really have 143MB free on a MacBook Air, you are long past the minimum space you should be keeping it at, and need to start clearing a lot of space now*:
    http://www.macmaps.com/diskfull.html
    I'm asking this thread be moved to the MacBook Air forum,a as we can't say for certain what you have when you post in the 10.3 or earlier forum.

  • When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb.But the output records is originally 4000 records. When copy to new excel it is showing 3.5 mb only. Does anyone knows the answer for this issue?

    When running an xml publisher report the xml output leads to 9 mb and the excel output file leads to 20 mb. The records contained in excel file is 4000 records. When taking the excel records and copy to new excel file the excel file size is 3.5 mb only.Why does the oracle software generates 20mb file?
    Does any one knows the answer please advice?

    Hello,
    This issue is because the Excel output from BI Publisher is MHTML (XML Publisher generates XHTML) not binary .xls.
    MHTML and XHTML are more verbose formats than binary .xls.
    It will be large because the current Excel output is just an HTML and not compressed like PDF. Please use the workaround (save it as .xls file).  This is a known limitation of RTF layout templates.
    BI Publisher Enterprise has a new feature True Excel Templates. The layouts generate binary Excel output.
    Excel Output File Size Generated By BI Publisher is Very Large (Doc ID 760437.1)
    Bogdan

  • I have dragged 2 files to the trash bin but I cannot delete them from the trash bin. It keeps telling me these files are in use when they are not. How do I delete these files? One is a txt file and the other is an xls file

    I have dragged 2 files to the trash bin but I cannot delete them from the trash bin. It keeps telling me these files are in use when they are not. How do I delete these files? One is a txt file and the other is an xls file

    From the Finder menu select 'Secure Empty Trash'. If this or the suggestion above doesn't resolve the problem take a look at the various suggestions in this link:
    http://www.thexlab.com/faqs/trash.html

  • Monitor CPU and send output to file

    Hello
    I want to monitor my CPU usage and my idea was this:
    1. Use Top (/usr/bin/top –n 1|head –n 3| tail –n 1|awk ’{print $2}’)
    2. Send output to file
    3. crontab it
    My problem is now that my top command (see above) works fine in terminal, it will give me a short and clean answer; 10.5%
    But when sending this to a file the output looks more like: 10.5%^^8fewfwe[]€]]@£]@£[f9@£[]^^E^Efewfwef23 (Yes i just hit my keyboard but its alot of randoms characters)
    How can i fix this?
    Do you have any easier solution to monitor my CPU usage, i want it to be quite often, send cpu usage to file for at least every minute, then i can import this to excel and make nice diagram.
    I dont want to install any extra program so ill have to work with whats there already. Im using RHEL 4.
    Thanks in advance, Johan

    A better way to do it is using "sar"
    man sarIt's already builtin and there are plenty of docs on the net.
    kido

Maybe you are looking for

  • Populate a drop down list with data from Excel and fill in a text field, based on drop down selectio

    Hi! I have a problem with a PDF form: There's a drop down list that I populate with Excel data that I've put in an XML file through an XSD file -- no problem here. The drop down list has a data binding to the XML file, so that a choice in the drop do

  • How can i load Client side XML file to Table

    Hi, How can i load the all the XML files (near 10,000 files) available in client machine to the XML table . I did try with directrory list in the Webutility demo form, but when the number of file is near to 1,500 its giving error. Please suggest the

  • Recently moved itunes library can not longer be found

    I recently moved my itunes library to an external hard drive and my system (windows 2000) will not longer find it. I can play directly from the hard drive but the music will not sync. I am getting the "some songs can not be copied because they can no

  • I have bought a iphone4 from USA and how to use in India now?

      I had bought this iphone with out any contract but it is by default locked by AT&T. Please suggest how can I unlock it or can I make a contract with the carrier present in India? Is it feasible? Configuration OS 4.1 and baseband 2.10

  • Need Oracle DBA  Job

    Hi All, This Karnan, i have finished BCA(Computer Application) 2008, and i did oracle9i DBA OCP, I was not able to get into Oracle DBA as a fresher. Finally Nov-2009, i got job in POLARIS SOFTWARE LAB ltd., as Software Tester. I'm very much passion a