1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to set priorty for schedule tasks?

Discussion in 'Windows XP' started by Eric, May 6, 2010.

  1. Eric

    Eric Flightless Bird

    I would like to set REALTIME priority to open myfile.xls for my schedule task.
    I find some example as shown below, but the coding structure is confusing.
    What should I type into the text field for execute schedule task?
    Does anyone have any suggestions on how to set priority on schedule tasks?
    Thanks in advance for any suggestions
    Eric

    For example:
    1) start /REALTIME c:/documents\myfile.xls
    2)
    cd D:/Program Files\Some_Program
    START "Some_Program" /REALTIME Some_Program.exe
     
  2. Pegasus [MVP]

    Pegasus [MVP] Flightless Bird

    "Eric" <Eric@discussions.microsoft.com> wrote in message
    news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > I would like to set REALTIME priority to open myfile.xls for my schedule
    > task.
    > I find some example as shown below, but the coding structure is confusing.
    > What should I type into the text field for execute schedule task?
    > Does anyone have any suggestions on how to set priority on schedule tasks?
    > Thanks in advance for any suggestions
    > Eric
    >
    > For example:
    > 1) start /REALTIME c:/documents\myfile.xls
    > 2)
    > cd D:/Program Files\Some_Program
    > START "Some_Program" /REALTIME Some_Program.exe


    You can embed your scheduled in a batch file, then set the priority of the
    actual task with the Start command as above.
     
  3. Eric

    Eric Flightless Bird

    Should I use (1) or (2)?
    coding (1) seems look right to me.
    I don't understand on how to set priorty for schedule task using (2)
    structure.
    Do you have any suggestions?
    Thanks in advance for any suggestions
    Eric


    "Pegasus [MVP]" wrote:

    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > > I would like to set REALTIME priority to open myfile.xls for my schedule
    > > task.
    > > I find some example as shown below, but the coding structure is confusing.
    > > What should I type into the text field for execute schedule task?
    > > Does anyone have any suggestions on how to set priority on schedule tasks?
    > > Thanks in advance for any suggestions
    > > Eric
    > >
    > > For example:
    > > 1) start /REALTIME c:/documents\myfile.xls
    > > 2)
    > > cd D:/Program Files\Some_Program
    > > START "Some_Program" /REALTIME Some_Program.exe

    >
    > You can embed your scheduled in a batch file, then set the priority of the
    > actual task with the Start command as above.
    >
    > .
    >
     
  4. Pegasus [MVP]

    Pegasus [MVP] Flightless Bird

    I would use this batch file:
    @echo off
    START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"


    "Eric" <Eric@discussions.microsoft.com> wrote in message
    news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    > Should I use (1) or (2)?
    > coding (1) seems look right to me.
    > I don't understand on how to set priorty for schedule task using (2)
    > structure.
    > Do you have any suggestions?
    > Thanks in advance for any suggestions
    > Eric
    >
    >
    > "Pegasus [MVP]" wrote:
    >
    >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    >> > I would like to set REALTIME priority to open myfile.xls for my
    >> > schedule
    >> > task.
    >> > I find some example as shown below, but the coding structure is
    >> > confusing.
    >> > What should I type into the text field for execute schedule task?
    >> > Does anyone have any suggestions on how to set priority on schedule
    >> > tasks?
    >> > Thanks in advance for any suggestions
    >> > Eric
    >> >
    >> > For example:
    >> > 1) start /REALTIME c:/documents\myfile.xls
    >> > 2)
    >> > cd D:/Program Files\Some_Program
    >> > START "Some_Program" /REALTIME Some_Program.exe

    >>
    >> You can embed your scheduled in a batch file, then set the priority of
    >> the
    >> actual task with the Start command as above.
    >>
    >> .
    >>
     
  5. Eric

    Eric Flightless Bird

    I would like to open excel file, which is "my file.xls" under d:/documents\
    Could you please tell me how to modify the coding?
    What to define "Some_Program" and "c:/Tools\Some_Program.exe"?
    @echo off
    START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    Thanks in advance for any suggestions
    Eric

    "Pegasus [MVP]" wrote:

    > I would use this batch file:
    > @echo off
    > START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    >
    >
    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    > > Should I use (1) or (2)?
    > > coding (1) seems look right to me.
    > > I don't understand on how to set priorty for schedule task using (2)
    > > structure.
    > > Do you have any suggestions?
    > > Thanks in advance for any suggestions
    > > Eric
    > >
    > >
    > > "Pegasus [MVP]" wrote:
    > >
    > >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > >> > I would like to set REALTIME priority to open myfile.xls for my
    > >> > schedule
    > >> > task.
    > >> > I find some example as shown below, but the coding structure is
    > >> > confusing.
    > >> > What should I type into the text field for execute schedule task?
    > >> > Does anyone have any suggestions on how to set priority on schedule
    > >> > tasks?
    > >> > Thanks in advance for any suggestions
    > >> > Eric
    > >> >
    > >> > For example:
    > >> > 1) start /REALTIME c:/documents\myfile.xls
    > >> > 2)
    > >> > cd D:/Program Files\Some_Program
    > >> > START "Some_Program" /REALTIME Some_Program.exe
    > >>
    > >> You can embed your scheduled in a batch file, then set the priority of
    > >> the
    > >> actual task with the Start command as above.
    > >>
    > >> .
    > >>

    > .
    >
     
  6. Eric

    Eric Flightless Bird

    I tries following code, it open "my file.xls", but when I check the priorty,
    which is normal, not realtime.
    @echo off
    START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my file.xls"
    Does anyone have any suggestions on what wrong it is?
    Thanks in advance for any suggestions
    Eric


    "Pegasus [MVP]" wrote:

    > I would use this batch file:
    > @echo off
    > START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    >
    >
    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    > > Should I use (1) or (2)?
    > > coding (1) seems look right to me.
    > > I don't understand on how to set priorty for schedule task using (2)
    > > structure.
    > > Do you have any suggestions?
    > > Thanks in advance for any suggestions
    > > Eric
    > >
    > >
    > > "Pegasus [MVP]" wrote:
    > >
    > >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > >> > I would like to set REALTIME priority to open myfile.xls for my
    > >> > schedule
    > >> > task.
    > >> > I find some example as shown below, but the coding structure is
    > >> > confusing.
    > >> > What should I type into the text field for execute schedule task?
    > >> > Does anyone have any suggestions on how to set priority on schedule
    > >> > tasks?
    > >> > Thanks in advance for any suggestions
    > >> > Eric
    > >> >
    > >> > For example:
    > >> > 1) start /REALTIME c:/documents\myfile.xls
    > >> > 2)
    > >> > cd D:/Program Files\Some_Program
    > >> > START "Some_Program" /REALTIME Some_Program.exe
    > >>
    > >> You can embed your scheduled in a batch file, then set the priority of
    > >> the
    > >> actual task with the Start command as above.
    > >>
    > >> .
    > >>

    > .
    >
     
  7. Pegasus [MVP]

    Pegasus [MVP] Flightless Bird

    This is probably because you are not invoking excel.exe directly as I
    suggested. You rely on the file association for .xls files instead.

    "Eric" <Eric@discussions.microsoft.com> wrote in message
    news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    > I tries following code, it open "my file.xls", but when I check the
    > priorty,
    > which is normal, not realtime.
    > @echo off
    > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my file.xls"
    > Does anyone have any suggestions on what wrong it is?
    > Thanks in advance for any suggestions
    > Eric
    >
    >
    > "Pegasus [MVP]" wrote:
    >
    >> I would use this batch file:
    >> @echo off
    >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    >>
    >>
    >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    >> > Should I use (1) or (2)?
    >> > coding (1) seems look right to me.
    >> > I don't understand on how to set priorty for schedule task using (2)
    >> > structure.
    >> > Do you have any suggestions?
    >> > Thanks in advance for any suggestions
    >> > Eric
    >> >
    >> >
    >> > "Pegasus [MVP]" wrote:
    >> >
    >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    >> >> > I would like to set REALTIME priority to open myfile.xls for my
    >> >> > schedule
    >> >> > task.
    >> >> > I find some example as shown below, but the coding structure is
    >> >> > confusing.
    >> >> > What should I type into the text field for execute schedule task?
    >> >> > Does anyone have any suggestions on how to set priority on schedule
    >> >> > tasks?
    >> >> > Thanks in advance for any suggestions
    >> >> > Eric
    >> >> >
    >> >> > For example:
    >> >> > 1) start /REALTIME c:/documents\myfile.xls
    >> >> > 2)
    >> >> > cd D:/Program Files\Some_Program
    >> >> > START "Some_Program" /REALTIME Some_Program.exe
    >> >>
    >> >> You can embed your scheduled in a batch file, then set the priority of
    >> >> the
    >> >> actual task with the Start command as above.
    >> >>
    >> >> .
    >> >>

    >> .
    >>
     
  8. Eric

    Eric Flightless Bird

    START "What is some program here?" /b /REALTIME "C:/Program Files\Microsoft
    Office\OFFICE11\EXCEL.EXE"
    Could you please tell me where to place the code to open file?
    "d:/documents\my file.xls"
    Thanks in advance for any suggestions
    Eric

    "Pegasus [MVP]" wrote:

    > This is probably because you are not invoking excel.exe directly as I
    > suggested. You rely on the file association for .xls files instead.
    >
    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    > > I tries following code, it open "my file.xls", but when I check the
    > > priorty,
    > > which is normal, not realtime.
    > > @echo off
    > > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my file.xls"
    > > Does anyone have any suggestions on what wrong it is?
    > > Thanks in advance for any suggestions
    > > Eric
    > >
    > >
    > > "Pegasus [MVP]" wrote:
    > >
    > >> I would use this batch file:
    > >> @echo off
    > >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    > >>
    > >>
    > >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    > >> > Should I use (1) or (2)?
    > >> > coding (1) seems look right to me.
    > >> > I don't understand on how to set priorty for schedule task using (2)
    > >> > structure.
    > >> > Do you have any suggestions?
    > >> > Thanks in advance for any suggestions
    > >> > Eric
    > >> >
    > >> >
    > >> > "Pegasus [MVP]" wrote:
    > >> >
    > >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > >> >> > I would like to set REALTIME priority to open myfile.xls for my
    > >> >> > schedule
    > >> >> > task.
    > >> >> > I find some example as shown below, but the coding structure is
    > >> >> > confusing.
    > >> >> > What should I type into the text field for execute schedule task?
    > >> >> > Does anyone have any suggestions on how to set priority on schedule
    > >> >> > tasks?
    > >> >> > Thanks in advance for any suggestions
    > >> >> > Eric
    > >> >> >
    > >> >> > For example:
    > >> >> > 1) start /REALTIME c:/documents\myfile.xls
    > >> >> > 2)
    > >> >> > cd D:/Program Files\Some_Program
    > >> >> > START "Some_Program" /REALTIME Some_Program.exe
    > >> >>
    > >> >> You can embed your scheduled in a batch file, then set the priority of
    > >> >> the
    > >> >> actual task with the Start command as above.
    > >> >>
    > >> >> .
    > >> >>
    > >> .
    > >>

    > .
    >
     
  9. Pegasus [MVP]

    Pegasus [MVP] Flightless Bird

    Sometimes you need to experiment a little to find out how to do things.

    START "What is some program here?" /b /REALTIME "C:/Program Files\Microsoft
    Office\OFFICE11\EXCEL.EXE" "d:/User Files\My Spreadsheet.xls"

    "Eric" <Eric@discussions.microsoft.com> wrote in message
    news:EEF51A12-F766-46E7-AD5E-F9B24ACCD846@microsoft.com...
    > START "What is some program here?" /b /REALTIME "C:/Program
    > Files\Microsoft
    > Office\OFFICE11\EXCEL.EXE"
    > Could you please tell me where to place the code to open file?
    > "d:/documents\my file.xls"
    > Thanks in advance for any suggestions
    > Eric
    >
    > "Pegasus [MVP]" wrote:
    >
    >> This is probably because you are not invoking excel.exe directly as I
    >> suggested. You rely on the file association for .xls files instead.
    >>
    >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    >> > I tries following code, it open "my file.xls", but when I check the
    >> > priorty,
    >> > which is normal, not realtime.
    >> > @echo off
    >> > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my
    >> > file.xls"
    >> > Does anyone have any suggestions on what wrong it is?
    >> > Thanks in advance for any suggestions
    >> > Eric
    >> >
    >> >
    >> > "Pegasus [MVP]" wrote:
    >> >
    >> >> I would use this batch file:
    >> >> @echo off
    >> >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    >> >>
    >> >>
    >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    >> >> > Should I use (1) or (2)?
    >> >> > coding (1) seems look right to me.
    >> >> > I don't understand on how to set priorty for schedule task using (2)
    >> >> > structure.
    >> >> > Do you have any suggestions?
    >> >> > Thanks in advance for any suggestions
    >> >> > Eric
    >> >> >
    >> >> >
    >> >> > "Pegasus [MVP]" wrote:
    >> >> >
    >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    >> >> >> > I would like to set REALTIME priority to open myfile.xls for my
    >> >> >> > schedule
    >> >> >> > task.
    >> >> >> > I find some example as shown below, but the coding structure is
    >> >> >> > confusing.
    >> >> >> > What should I type into the text field for execute schedule task?
    >> >> >> > Does anyone have any suggestions on how to set priority on
    >> >> >> > schedule
    >> >> >> > tasks?
    >> >> >> > Thanks in advance for any suggestions
    >> >> >> > Eric
    >> >> >> >
    >> >> >> > For example:
    >> >> >> > 1) start /REALTIME c:/documents\myfile.xls
    >> >> >> > 2)
    >> >> >> > cd D:/Program Files\Some_Program
    >> >> >> > START "Some_Program" /REALTIME Some_Program.exe
    >> >> >>
    >> >> >> You can embed your scheduled in a batch file, then set the priority
    >> >> >> of
    >> >> >> the
    >> >> >> actual task with the Start command as above.
    >> >> >>
    >> >> >> .
    >> >> >>
    >> >> .
    >> >>

    >> .
    >>
     
  10. Eric

    Eric Flightless Bird

    I have tried following code, which open file.xls, but the priorty is still
    normal, not realtime.
    Do you have any suggestions?
    Thanks in advance for any suggestions
    Eric

    start /b /REALTIME "C:/Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
    "d:/User Files\My Spreadsheet.xls"

    "Pegasus [MVP]" wrote:

    > Sometimes you need to experiment a little to find out how to do things.
    >
    > START "What is some program here?" /b /REALTIME "C:/Program Files\Microsoft
    > Office\OFFICE11\EXCEL.EXE" "d:/User Files\My Spreadsheet.xls"
    >
    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:EEF51A12-F766-46E7-AD5E-F9B24ACCD846@microsoft.com...
    > > START "What is some program here?" /b /REALTIME "C:/Program
    > > Files\Microsoft
    > > Office\OFFICE11\EXCEL.EXE"
    > > Could you please tell me where to place the code to open file?
    > > "d:/documents\my file.xls"
    > > Thanks in advance for any suggestions
    > > Eric
    > >
    > > "Pegasus [MVP]" wrote:
    > >
    > >> This is probably because you are not invoking excel.exe directly as I
    > >> suggested. You rely on the file association for .xls files instead.
    > >>
    > >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    > >> > I tries following code, it open "my file.xls", but when I check the
    > >> > priorty,
    > >> > which is normal, not realtime.
    > >> > @echo off
    > >> > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my
    > >> > file.xls"
    > >> > Does anyone have any suggestions on what wrong it is?
    > >> > Thanks in advance for any suggestions
    > >> > Eric
    > >> >
    > >> >
    > >> > "Pegasus [MVP]" wrote:
    > >> >
    > >> >> I would use this batch file:
    > >> >> @echo off
    > >> >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    > >> >>
    > >> >>
    > >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    > >> >> > Should I use (1) or (2)?
    > >> >> > coding (1) seems look right to me.
    > >> >> > I don't understand on how to set priorty for schedule task using (2)
    > >> >> > structure.
    > >> >> > Do you have any suggestions?
    > >> >> > Thanks in advance for any suggestions
    > >> >> > Eric
    > >> >> >
    > >> >> >
    > >> >> > "Pegasus [MVP]" wrote:
    > >> >> >
    > >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > >> >> >> > I would like to set REALTIME priority to open myfile.xls for my
    > >> >> >> > schedule
    > >> >> >> > task.
    > >> >> >> > I find some example as shown below, but the coding structure is
    > >> >> >> > confusing.
    > >> >> >> > What should I type into the text field for execute schedule task?
    > >> >> >> > Does anyone have any suggestions on how to set priority on
    > >> >> >> > schedule
    > >> >> >> > tasks?
    > >> >> >> > Thanks in advance for any suggestions
    > >> >> >> > Eric
    > >> >> >> >
    > >> >> >> > For example:
    > >> >> >> > 1) start /REALTIME c:/documents\myfile.xls
    > >> >> >> > 2)
    > >> >> >> > cd D:/Program Files\Some_Program
    > >> >> >> > START "Some_Program" /REALTIME Some_Program.exe
    > >> >> >>
    > >> >> >> You can embed your scheduled in a batch file, then set the priority
    > >> >> >> of
    > >> >> >> the
    > >> >> >> actual task with the Start command as above.
    > >> >> >>
    > >> >> >> .
    > >> >> >>
    > >> >> .
    > >> >>
    > >> .
    > >>

    > .
    >
     
  11. Pegasus [MVP]

    Pegasus [MVP] Flightless Bird

    You need to ask yourself some probing questions, e.g.
    - How exactly do you determine the job's priority when it runs?
    - Does your method give you the desired priority when you run the batch file
    in the foreground rather than scheduled?
    - Do you get the desired priority when you run the batch file without the
    "Run" command?

    "Eric" <Eric@discussions.microsoft.com> wrote in message
    news:8F317C07-C3FC-4C61-8E0D-2CC7F2BBD2CA@microsoft.com...
    > I have tried following code, which open file.xls, but the priorty is still
    > normal, not realtime.
    > Do you have any suggestions?
    > Thanks in advance for any suggestions
    > Eric
    >
    > start /b /REALTIME "C:/Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
    > "d:/User Files\My Spreadsheet.xls"
    >
    > "Pegasus [MVP]" wrote:
    >
    >> Sometimes you need to experiment a little to find out how to do things.
    >>
    >> START "What is some program here?" /b /REALTIME "C:/Program
    >> Files\Microsoft
    >> Office\OFFICE11\EXCEL.EXE" "d:/User Files\My Spreadsheet.xls"
    >>
    >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> news:EEF51A12-F766-46E7-AD5E-F9B24ACCD846@microsoft.com...
    >> > START "What is some program here?" /b /REALTIME "C:/Program
    >> > Files\Microsoft
    >> > Office\OFFICE11\EXCEL.EXE"
    >> > Could you please tell me where to place the code to open file?
    >> > "d:/documents\my file.xls"
    >> > Thanks in advance for any suggestions
    >> > Eric
    >> >
    >> > "Pegasus [MVP]" wrote:
    >> >
    >> >> This is probably because you are not invoking excel.exe directly as I
    >> >> suggested. You rely on the file association for .xls files instead.
    >> >>
    >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    >> >> > I tries following code, it open "my file.xls", but when I check the
    >> >> > priorty,
    >> >> > which is normal, not realtime.
    >> >> > @echo off
    >> >> > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my
    >> >> > file.xls"
    >> >> > Does anyone have any suggestions on what wrong it is?
    >> >> > Thanks in advance for any suggestions
    >> >> > Eric
    >> >> >
    >> >> >
    >> >> > "Pegasus [MVP]" wrote:
    >> >> >
    >> >> >> I would use this batch file:
    >> >> >> @echo off
    >> >> >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    >> >> >>
    >> >> >>
    >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    >> >> >> > Should I use (1) or (2)?
    >> >> >> > coding (1) seems look right to me.
    >> >> >> > I don't understand on how to set priorty for schedule task using
    >> >> >> > (2)
    >> >> >> > structure.
    >> >> >> > Do you have any suggestions?
    >> >> >> > Thanks in advance for any suggestions
    >> >> >> > Eric
    >> >> >> >
    >> >> >> >
    >> >> >> > "Pegasus [MVP]" wrote:
    >> >> >> >
    >> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    >> >> >> >> > I would like to set REALTIME priority to open myfile.xls for
    >> >> >> >> > my
    >> >> >> >> > schedule
    >> >> >> >> > task.
    >> >> >> >> > I find some example as shown below, but the coding structure
    >> >> >> >> > is
    >> >> >> >> > confusing.
    >> >> >> >> > What should I type into the text field for execute schedule
    >> >> >> >> > task?
    >> >> >> >> > Does anyone have any suggestions on how to set priority on
    >> >> >> >> > schedule
    >> >> >> >> > tasks?
    >> >> >> >> > Thanks in advance for any suggestions
    >> >> >> >> > Eric
    >> >> >> >> >
    >> >> >> >> > For example:
    >> >> >> >> > 1) start /REALTIME c:/documents\myfile.xls
    >> >> >> >> > 2)
    >> >> >> >> > cd D:/Program Files\Some_Program
    >> >> >> >> > START "Some_Program" /REALTIME Some_Program.exe
    >> >> >> >>
    >> >> >> >> You can embed your scheduled in a batch file, then set the
    >> >> >> >> priority
    >> >> >> >> of
    >> >> >> >> the
    >> >> >> >> actual task with the Start command as above.
    >> >> >> >>
    >> >> >> >> .
    >> >> >> >>
    >> >> >> .
    >> >> >>
    >> >> .
    >> >>

    >> .
    >>
     
  12. Eric

    Eric Flightless Bird

    I understand why a higher priorty is needed for a task, one task requires
    higher priorty if not it will be idle for a while, so this task is required
    to set higher priorty for processing.
    Do you have any suggestions on what wrong the code is to set realtime
    priority on schedule task?
    Thank you very much for any suggestions
    Eric

    start /b /REALTIME "C:/Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
    "d:/User Files\My Spreadsheet.xls"


    "Pegasus [MVP]" wrote:

    > You need to ask yourself some probing questions, e.g.
    > - How exactly do you determine the job's priority when it runs?
    > - Does your method give you the desired priority when you run the batch file
    > in the foreground rather than scheduled?
    > - Do you get the desired priority when you run the batch file without the
    > "Run" command?
    >
    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:8F317C07-C3FC-4C61-8E0D-2CC7F2BBD2CA@microsoft.com...
    > > I have tried following code, which open file.xls, but the priorty is still
    > > normal, not realtime.
    > > Do you have any suggestions?
    > > Thanks in advance for any suggestions
    > > Eric
    > >
    > > start /b /REALTIME "C:/Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
    > > "d:/User Files\My Spreadsheet.xls"
    > >
    > > "Pegasus [MVP]" wrote:
    > >
    > >> Sometimes you need to experiment a little to find out how to do things.
    > >>
    > >> START "What is some program here?" /b /REALTIME "C:/Program
    > >> Files\Microsoft
    > >> Office\OFFICE11\EXCEL.EXE" "d:/User Files\My Spreadsheet.xls"
    > >>
    > >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> news:EEF51A12-F766-46E7-AD5E-F9B24ACCD846@microsoft.com...
    > >> > START "What is some program here?" /b /REALTIME "C:/Program
    > >> > Files\Microsoft
    > >> > Office\OFFICE11\EXCEL.EXE"
    > >> > Could you please tell me where to place the code to open file?
    > >> > "d:/documents\my file.xls"
    > >> > Thanks in advance for any suggestions
    > >> > Eric
    > >> >
    > >> > "Pegasus [MVP]" wrote:
    > >> >
    > >> >> This is probably because you are not invoking excel.exe directly as I
    > >> >> suggested. You rely on the file association for .xls files instead.
    > >> >>
    > >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    > >> >> > I tries following code, it open "my file.xls", but when I check the
    > >> >> > priorty,
    > >> >> > which is normal, not realtime.
    > >> >> > @echo off
    > >> >> > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my
    > >> >> > file.xls"
    > >> >> > Does anyone have any suggestions on what wrong it is?
    > >> >> > Thanks in advance for any suggestions
    > >> >> > Eric
    > >> >> >
    > >> >> >
    > >> >> > "Pegasus [MVP]" wrote:
    > >> >> >
    > >> >> >> I would use this batch file:
    > >> >> >> @echo off
    > >> >> >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    > >> >> >>
    > >> >> >>
    > >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    > >> >> >> > Should I use (1) or (2)?
    > >> >> >> > coding (1) seems look right to me.
    > >> >> >> > I don't understand on how to set priorty for schedule task using
    > >> >> >> > (2)
    > >> >> >> > structure.
    > >> >> >> > Do you have any suggestions?
    > >> >> >> > Thanks in advance for any suggestions
    > >> >> >> > Eric
    > >> >> >> >
    > >> >> >> >
    > >> >> >> > "Pegasus [MVP]" wrote:
    > >> >> >> >
    > >> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > >> >> >> >> > I would like to set REALTIME priority to open myfile.xls for
    > >> >> >> >> > my
    > >> >> >> >> > schedule
    > >> >> >> >> > task.
    > >> >> >> >> > I find some example as shown below, but the coding structure
    > >> >> >> >> > is
    > >> >> >> >> > confusing.
    > >> >> >> >> > What should I type into the text field for execute schedule
    > >> >> >> >> > task?
    > >> >> >> >> > Does anyone have any suggestions on how to set priority on
    > >> >> >> >> > schedule
    > >> >> >> >> > tasks?
    > >> >> >> >> > Thanks in advance for any suggestions
    > >> >> >> >> > Eric
    > >> >> >> >> >
    > >> >> >> >> > For example:
    > >> >> >> >> > 1) start /REALTIME c:/documents\myfile.xls
    > >> >> >> >> > 2)
    > >> >> >> >> > cd D:/Program Files\Some_Program
    > >> >> >> >> > START "Some_Program" /REALTIME Some_Program.exe
    > >> >> >> >>
    > >> >> >> >> You can embed your scheduled in a batch file, then set the
    > >> >> >> >> priority
    > >> >> >> >> of
    > >> >> >> >> the
    > >> >> >> >> actual task with the Start command as above.
    > >> >> >> >>
    > >> >> >> >> .
    > >> >> >> >>
    > >> >> >> .
    > >> >> >>
    > >> >> .
    > >> >>
    > >> .
    > >>

    > .
    >
     
  13. Pegasus [MVP]

    Pegasus [MVP] Flightless Bird

    Mhm. I think we're talking a different language. This is *your* project and
    I suggested a number of important questions that you need to ask yourself in
    order to clarify the matter. If it was my own project then I would sit down
    and try to answer them to the best of my knowledge. Since it is not my
    project I am not going to do this - this is your job!


    "Eric" <Eric@discussions.microsoft.com> wrote in message
    news:04458D37-967F-40A0-9B56-C2ACE83EEA60@microsoft.com...
    > I understand why a higher priorty is needed for a task, one task requires
    > higher priorty if not it will be idle for a while, so this task is
    > required
    > to set higher priorty for processing.
    > Do you have any suggestions on what wrong the code is to set realtime
    > priority on schedule task?
    > Thank you very much for any suggestions
    > Eric
    >
    > start /b /REALTIME "C:/Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
    > "d:/User Files\My Spreadsheet.xls"
    >
    >
    > "Pegasus [MVP]" wrote:
    >
    >> You need to ask yourself some probing questions, e.g.
    >> - How exactly do you determine the job's priority when it runs?
    >> - Does your method give you the desired priority when you run the batch
    >> file
    >> in the foreground rather than scheduled?
    >> - Do you get the desired priority when you run the batch file without the
    >> "Run" command?
    >>
    >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> news:8F317C07-C3FC-4C61-8E0D-2CC7F2BBD2CA@microsoft.com...
    >> > I have tried following code, which open file.xls, but the priorty is
    >> > still
    >> > normal, not realtime.
    >> > Do you have any suggestions?
    >> > Thanks in advance for any suggestions
    >> > Eric
    >> >
    >> > start /b /REALTIME "C:/Program Files\Microsoft
    >> > Office\OFFICE11\EXCEL.EXE"
    >> > "d:/User Files\My Spreadsheet.xls"
    >> >
    >> > "Pegasus [MVP]" wrote:
    >> >
    >> >> Sometimes you need to experiment a little to find out how to do
    >> >> things.
    >> >>
    >> >> START "What is some program here?" /b /REALTIME "C:/Program
    >> >> Files\Microsoft
    >> >> Office\OFFICE11\EXCEL.EXE" "d:/User Files\My Spreadsheet.xls"
    >> >>
    >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> news:EEF51A12-F766-46E7-AD5E-F9B24ACCD846@microsoft.com...
    >> >> > START "What is some program here?" /b /REALTIME "C:/Program
    >> >> > Files\Microsoft
    >> >> > Office\OFFICE11\EXCEL.EXE"
    >> >> > Could you please tell me where to place the code to open file?
    >> >> > "d:/documents\my file.xls"
    >> >> > Thanks in advance for any suggestions
    >> >> > Eric
    >> >> >
    >> >> > "Pegasus [MVP]" wrote:
    >> >> >
    >> >> >> This is probably because you are not invoking excel.exe directly as
    >> >> >> I
    >> >> >> suggested. You rely on the file association for .xls files instead.
    >> >> >>
    >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> >> news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    >> >> >> > I tries following code, it open "my file.xls", but when I check
    >> >> >> > the
    >> >> >> > priorty,
    >> >> >> > which is normal, not realtime.
    >> >> >> > @echo off
    >> >> >> > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my
    >> >> >> > file.xls"
    >> >> >> > Does anyone have any suggestions on what wrong it is?
    >> >> >> > Thanks in advance for any suggestions
    >> >> >> > Eric
    >> >> >> >
    >> >> >> >
    >> >> >> > "Pegasus [MVP]" wrote:
    >> >> >> >
    >> >> >> >> I would use this batch file:
    >> >> >> >> @echo off
    >> >> >> >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    >> >> >> >>
    >> >> >> >>
    >> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> >> >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    >> >> >> >> > Should I use (1) or (2)?
    >> >> >> >> > coding (1) seems look right to me.
    >> >> >> >> > I don't understand on how to set priorty for schedule task
    >> >> >> >> > using
    >> >> >> >> > (2)
    >> >> >> >> > structure.
    >> >> >> >> > Do you have any suggestions?
    >> >> >> >> > Thanks in advance for any suggestions
    >> >> >> >> > Eric
    >> >> >> >> >
    >> >> >> >> >
    >> >> >> >> > "Pegasus [MVP]" wrote:
    >> >> >> >> >
    >> >> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >> >> >> >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    >> >> >> >> >> > I would like to set REALTIME priority to open myfile.xls
    >> >> >> >> >> > for
    >> >> >> >> >> > my
    >> >> >> >> >> > schedule
    >> >> >> >> >> > task.
    >> >> >> >> >> > I find some example as shown below, but the coding
    >> >> >> >> >> > structure
    >> >> >> >> >> > is
    >> >> >> >> >> > confusing.
    >> >> >> >> >> > What should I type into the text field for execute schedule
    >> >> >> >> >> > task?
    >> >> >> >> >> > Does anyone have any suggestions on how to set priority on
    >> >> >> >> >> > schedule
    >> >> >> >> >> > tasks?
    >> >> >> >> >> > Thanks in advance for any suggestions
    >> >> >> >> >> > Eric
    >> >> >> >> >> >
    >> >> >> >> >> > For example:
    >> >> >> >> >> > 1) start /REALTIME c:/documents\myfile.xls
    >> >> >> >> >> > 2)
    >> >> >> >> >> > cd D:/Program Files\Some_Program
    >> >> >> >> >> > START "Some_Program" /REALTIME Some_Program.exe
    >> >> >> >> >>
    >> >> >> >> >> You can embed your scheduled in a batch file, then set the
    >> >> >> >> >> priority
    >> >> >> >> >> of
    >> >> >> >> >> the
    >> >> >> >> >> actual task with the Start command as above.
    >> >> >> >> >>
    >> >> >> >> >> .
    >> >> >> >> >>
    >> >> >> >> .
    >> >> >> >>
    >> >> >> .
    >> >> >>
    >> >> .
    >> >>

    >> .
    >>
     
  14. Eric

    Eric Flightless Bird

    Many thanks for any suggestions
    Eric

    "Pegasus [MVP]" wrote:

    > Mhm. I think we're talking a different language. This is *your* project and
    > I suggested a number of important questions that you need to ask yourself in
    > order to clarify the matter. If it was my own project then I would sit down
    > and try to answer them to the best of my knowledge. Since it is not my
    > project I am not going to do this - this is your job!
    >
    >
    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:04458D37-967F-40A0-9B56-C2ACE83EEA60@microsoft.com...
    > > I understand why a higher priorty is needed for a task, one task requires
    > > higher priorty if not it will be idle for a while, so this task is
    > > required
    > > to set higher priorty for processing.
    > > Do you have any suggestions on what wrong the code is to set realtime
    > > priority on schedule task?
    > > Thank you very much for any suggestions
    > > Eric
    > >
    > > start /b /REALTIME "C:/Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
    > > "d:/User Files\My Spreadsheet.xls"
    > >
    > >
    > > "Pegasus [MVP]" wrote:
    > >
    > >> You need to ask yourself some probing questions, e.g.
    > >> - How exactly do you determine the job's priority when it runs?
    > >> - Does your method give you the desired priority when you run the batch
    > >> file
    > >> in the foreground rather than scheduled?
    > >> - Do you get the desired priority when you run the batch file without the
    > >> "Run" command?
    > >>
    > >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> news:8F317C07-C3FC-4C61-8E0D-2CC7F2BBD2CA@microsoft.com...
    > >> > I have tried following code, which open file.xls, but the priorty is
    > >> > still
    > >> > normal, not realtime.
    > >> > Do you have any suggestions?
    > >> > Thanks in advance for any suggestions
    > >> > Eric
    > >> >
    > >> > start /b /REALTIME "C:/Program Files\Microsoft
    > >> > Office\OFFICE11\EXCEL.EXE"
    > >> > "d:/User Files\My Spreadsheet.xls"
    > >> >
    > >> > "Pegasus [MVP]" wrote:
    > >> >
    > >> >> Sometimes you need to experiment a little to find out how to do
    > >> >> things.
    > >> >>
    > >> >> START "What is some program here?" /b /REALTIME "C:/Program
    > >> >> Files\Microsoft
    > >> >> Office\OFFICE11\EXCEL.EXE" "d:/User Files\My Spreadsheet.xls"
    > >> >>
    > >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> news:EEF51A12-F766-46E7-AD5E-F9B24ACCD846@microsoft.com...
    > >> >> > START "What is some program here?" /b /REALTIME "C:/Program
    > >> >> > Files\Microsoft
    > >> >> > Office\OFFICE11\EXCEL.EXE"
    > >> >> > Could you please tell me where to place the code to open file?
    > >> >> > "d:/documents\my file.xls"
    > >> >> > Thanks in advance for any suggestions
    > >> >> > Eric
    > >> >> >
    > >> >> > "Pegasus [MVP]" wrote:
    > >> >> >
    > >> >> >> This is probably because you are not invoking excel.exe directly as
    > >> >> >> I
    > >> >> >> suggested. You rely on the file association for .xls files instead.
    > >> >> >>
    > >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> >> news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    > >> >> >> > I tries following code, it open "my file.xls", but when I check
    > >> >> >> > the
    > >> >> >> > priorty,
    > >> >> >> > which is normal, not realtime.
    > >> >> >> > @echo off
    > >> >> >> > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my
    > >> >> >> > file.xls"
    > >> >> >> > Does anyone have any suggestions on what wrong it is?
    > >> >> >> > Thanks in advance for any suggestions
    > >> >> >> > Eric
    > >> >> >> >
    > >> >> >> >
    > >> >> >> > "Pegasus [MVP]" wrote:
    > >> >> >> >
    > >> >> >> >> I would use this batch file:
    > >> >> >> >> @echo off
    > >> >> >> >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    > >> >> >> >>
    > >> >> >> >>
    > >> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> >> >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    > >> >> >> >> > Should I use (1) or (2)?
    > >> >> >> >> > coding (1) seems look right to me.
    > >> >> >> >> > I don't understand on how to set priorty for schedule task
    > >> >> >> >> > using
    > >> >> >> >> > (2)
    > >> >> >> >> > structure.
    > >> >> >> >> > Do you have any suggestions?
    > >> >> >> >> > Thanks in advance for any suggestions
    > >> >> >> >> > Eric
    > >> >> >> >> >
    > >> >> >> >> >
    > >> >> >> >> > "Pegasus [MVP]" wrote:
    > >> >> >> >> >
    > >> >> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    > >> >> >> >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    > >> >> >> >> >> > I would like to set REALTIME priority to open myfile.xls
    > >> >> >> >> >> > for
    > >> >> >> >> >> > my
    > >> >> >> >> >> > schedule
    > >> >> >> >> >> > task.
    > >> >> >> >> >> > I find some example as shown below, but the coding
    > >> >> >> >> >> > structure
    > >> >> >> >> >> > is
    > >> >> >> >> >> > confusing.
    > >> >> >> >> >> > What should I type into the text field for execute schedule
    > >> >> >> >> >> > task?
    > >> >> >> >> >> > Does anyone have any suggestions on how to set priority on
    > >> >> >> >> >> > schedule
    > >> >> >> >> >> > tasks?
    > >> >> >> >> >> > Thanks in advance for any suggestions
    > >> >> >> >> >> > Eric
    > >> >> >> >> >> >
    > >> >> >> >> >> > For example:
    > >> >> >> >> >> > 1) start /REALTIME c:/documents\myfile.xls
    > >> >> >> >> >> > 2)
    > >> >> >> >> >> > cd D:/Program Files\Some_Program
    > >> >> >> >> >> > START "Some_Program" /REALTIME Some_Program.exe
    > >> >> >> >> >>
    > >> >> >> >> >> You can embed your scheduled in a batch file, then set the
    > >> >> >> >> >> priority
    > >> >> >> >> >> of
    > >> >> >> >> >> the
    > >> >> >> >> >> actual task with the Start command as above.
    > >> >> >> >> >>
    > >> >> >> >> >> .
    > >> >> >> >> >>
    > >> >> >> >> .
    > >> >> >> >>
    > >> >> >> .
    > >> >> >>
    > >> >> .
    > >> >>
    > >> .
    > >>

    > .
    >
     
  15. BillyBob

    BillyBob Flightless Bird

    Pegasus,

    Looking at the history of Eric's posts (not referring to *only* this
    thread), he does not possess the inclination for self-directed learning or
    the capacity to think for himself. IOW, he needs answers and information
    handed to him.

    This is probably why the 3rd grade was the hardest five years of his life.

    BB

    "Pegasus [MVP]" <news@microsoft.com> wrote in message
    news:ehq7Xtq7KHA.356@TK2MSFTNGP05.phx.gbl...
    > Mhm. I think we're talking a different language. This is *your* project
    > and I suggested a number of important questions that you need to ask
    > yourself in order to clarify the matter. If it was my own project then I
    > would sit down and try to answer them to the best of my knowledge. Since
    > it is not my project I am not going to do this - this is your job!
    >
    >
    > "Eric" <Eric@discussions.microsoft.com> wrote in message
    > news:04458D37-967F-40A0-9B56-C2ACE83EEA60@microsoft.com...
    >> I understand why a higher priorty is needed for a task, one task requires
    >> higher priorty if not it will be idle for a while, so this task is
    >> required
    >> to set higher priorty for processing.
    >> Do you have any suggestions on what wrong the code is to set realtime
    >> priority on schedule task?
    >> Thank you very much for any suggestions
    >> Eric
    >>
    >> start /b /REALTIME "C:/Program Files\Microsoft Office\OFFICE11\EXCEL.EXE"
    >> "d:/User Files\My Spreadsheet.xls"
    >>
    >>
    >> "Pegasus [MVP]" wrote:
    >>
    >>> You need to ask yourself some probing questions, e.g.
    >>> - How exactly do you determine the job's priority when it runs?
    >>> - Does your method give you the desired priority when you run the batch
    >>> file
    >>> in the foreground rather than scheduled?
    >>> - Do you get the desired priority when you run the batch file without
    >>> the
    >>> "Run" command?
    >>>
    >>> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >>> news:8F317C07-C3FC-4C61-8E0D-2CC7F2BBD2CA@microsoft.com...
    >>> > I have tried following code, which open file.xls, but the priorty is
    >>> > still
    >>> > normal, not realtime.
    >>> > Do you have any suggestions?
    >>> > Thanks in advance for any suggestions
    >>> > Eric
    >>> >
    >>> > start /b /REALTIME "C:/Program Files\Microsoft
    >>> > Office\OFFICE11\EXCEL.EXE"
    >>> > "d:/User Files\My Spreadsheet.xls"
    >>> >
    >>> > "Pegasus [MVP]" wrote:
    >>> >
    >>> >> Sometimes you need to experiment a little to find out how to do
    >>> >> things.
    >>> >>
    >>> >> START "What is some program here?" /b /REALTIME "C:/Program
    >>> >> Files\Microsoft
    >>> >> Office\OFFICE11\EXCEL.EXE" "d:/User Files\My Spreadsheet.xls"
    >>> >>
    >>> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >>> >> news:EEF51A12-F766-46E7-AD5E-F9B24ACCD846@microsoft.com...
    >>> >> > START "What is some program here?" /b /REALTIME "C:/Program
    >>> >> > Files\Microsoft
    >>> >> > Office\OFFICE11\EXCEL.EXE"
    >>> >> > Could you please tell me where to place the code to open file?
    >>> >> > "d:/documents\my file.xls"
    >>> >> > Thanks in advance for any suggestions
    >>> >> > Eric
    >>> >> >
    >>> >> > "Pegasus [MVP]" wrote:
    >>> >> >
    >>> >> >> This is probably because you are not invoking excel.exe directly
    >>> >> >> as I
    >>> >> >> suggested. You rely on the file association for .xls files
    >>> >> >> instead.
    >>> >> >>
    >>> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >>> >> >> news:214DFE47-05E6-4DB4-A985-7424414E497E@microsoft.com...
    >>> >> >> > I tries following code, it open "my file.xls", but when I check
    >>> >> >> > the
    >>> >> >> > priorty,
    >>> >> >> > which is normal, not realtime.
    >>> >> >> > @echo off
    >>> >> >> > START "d:/documents\my file.xls" /b /REALTIME "d:/documents\my
    >>> >> >> > file.xls"
    >>> >> >> > Does anyone have any suggestions on what wrong it is?
    >>> >> >> > Thanks in advance for any suggestions
    >>> >> >> > Eric
    >>> >> >> >
    >>> >> >> >
    >>> >> >> > "Pegasus [MVP]" wrote:
    >>> >> >> >
    >>> >> >> >> I would use this batch file:
    >>> >> >> >> @echo off
    >>> >> >> >> START "Some_Program" /b /REALTIME "c:/Tools\Some_Program.exe"
    >>> >> >> >>
    >>> >> >> >>
    >>> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >>> >> >> >> news:6614F729-3FD6-4F20-AA25-47D0E7F6AFD1@microsoft.com...
    >>> >> >> >> > Should I use (1) or (2)?
    >>> >> >> >> > coding (1) seems look right to me.
    >>> >> >> >> > I don't understand on how to set priorty for schedule task
    >>> >> >> >> > using
    >>> >> >> >> > (2)
    >>> >> >> >> > structure.
    >>> >> >> >> > Do you have any suggestions?
    >>> >> >> >> > Thanks in advance for any suggestions
    >>> >> >> >> > Eric
    >>> >> >> >> >
    >>> >> >> >> >
    >>> >> >> >> > "Pegasus [MVP]" wrote:
    >>> >> >> >> >
    >>> >> >> >> >> "Eric" <Eric@discussions.microsoft.com> wrote in message
    >>> >> >> >> >> news:D482E846-60BF-433B-9DDC-A94EFE740163@microsoft.com...
    >>> >> >> >> >> > I would like to set REALTIME priority to open myfile.xls
    >>> >> >> >> >> > for
    >>> >> >> >> >> > my
    >>> >> >> >> >> > schedule
    >>> >> >> >> >> > task.
    >>> >> >> >> >> > I find some example as shown below, but the coding
    >>> >> >> >> >> > structure
    >>> >> >> >> >> > is
    >>> >> >> >> >> > confusing.
    >>> >> >> >> >> > What should I type into the text field for execute
    >>> >> >> >> >> > schedule
    >>> >> >> >> >> > task?
    >>> >> >> >> >> > Does anyone have any suggestions on how to set priority on
    >>> >> >> >> >> > schedule
    >>> >> >> >> >> > tasks?
    >>> >> >> >> >> > Thanks in advance for any suggestions
    >>> >> >> >> >> > Eric
    >>> >> >> >> >> >
    >>> >> >> >> >> > For example:
    >>> >> >> >> >> > 1) start /REALTIME c:/documents\myfile.xls
    >>> >> >> >> >> > 2)
    >>> >> >> >> >> > cd D:/Program Files\Some_Program
    >>> >> >> >> >> > START "Some_Program" /REALTIME Some_Program.exe
    >>> >> >> >> >>
    >>> >> >> >> >> You can embed your scheduled in a batch file, then set the
    >>> >> >> >> >> priority
    >>> >> >> >> >> of
    >>> >> >> >> >> the
    >>> >> >> >> >> actual task with the Start command as above.
    >>> >> >> >> >>
    >>> >> >> >> >> .
    >>> >> >> >> >>
    >>> >> >> >> .
    >>> >> >> >>
    >>> >> >> .
    >>> >> >>
    >>> >> .
    >>> >>
    >>> .
    >>>
     
  16. Paul

    Paul Flightless Bird

    Eric wrote:
    > Many thanks for any suggestions
    > Eric
    >


    Playing with priority is dangerous.

    Generally speaking, values +1 or -1 with respect to
    nominal, are safe. But using extreme values, can lead
    to lockups or an inability to get any response from
    the computer display.

    http://www.tweakxp.com/article37034.aspx

    "*Realtime is not recommended unless you have a dual-CPU system!"

    That tells you, that causing Excel to run RealTime, will cause
    it to hog one whole core of the computer. If you're not careful,
    no other necessary system processes may be able to run.

    Values like "AboveNormal" or "BelowNormal" should be
    safe for experimentation.

    Command syntax for "Start" :

    http://www.jpsoft.com/help/index.htm?start.htm

    Paul
     

Share This Page