How to set priorty for schedule tasks?

  • Thread starter Thread starter Eric
  • Start date Start date
E

Eric

Guest
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
 
"Eric" 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.
 
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" 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.

>

> .

>
 
I would use this batch file:

@echo off

START "Some_Program" /b /REALTIME "c:\Tools\Some_Program.exe"





"Eric" 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" 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.

>>

>> .

>>
 
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" 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" 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.

> >>

> >> .

> >>


> .

>
 
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" 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" 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.

> >>

> >> .

> >>


> .

>
 
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" 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" 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" 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.

>> >>

>> >> .

>> >>


>> .

>>
 
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" 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" 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" 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.

> >> >>

> >> >> .

> >> >>

> >> .

> >>


> .

>
 
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" 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" 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" 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" 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.

>> >> >>

>> >> >> .

>> >> >>

>> >> .

>> >>


>> .

>>
 
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" 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" 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" 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" 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.

> >> >> >>

> >> >> >> .

> >> >> >>

> >> >> .

> >> >>

> >> .

> >>


> .

>
 
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" 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" 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" 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" 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" 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.

>> >> >> >>

>> >> >> >> .

>> >> >> >>

>> >> >> .

>> >> >>

>> >> .

>> >>


>> .

>>
 
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" 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" 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" 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" 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" 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.

> >> >> >> >>

> >> >> >> >> .

> >> >> >> >>

> >> >> >> .

> >> >> >>

> >> >> .

> >> >>

> >> .

> >>


> .

>
 
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" 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" 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" 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" 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" 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" 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.

>> >> >> >> >>

>> >> >> >> >> .

>> >> >> >> >>

>> >> >> >> .

>> >> >> >>

>> >> >> .

>> >> >>

>> >> .

>> >>


>> .

>>
 
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" 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" 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" 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" 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" 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" 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.

> >> >> >> >> >>

> >> >> >> >> >> .

> >> >> >> >> >>

> >> >> >> >> .

> >> >> >> >>

> >> >> >> .

> >> >> >>

> >> >> .

> >> >>

> >> .

> >>


> .

>
 
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]" 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" 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" 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" 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" 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" 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" 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.

>>> >> >> >> >>

>>> >> >> >> >> .

>>> >> >> >> >>

>>> >> >> >> .

>>> >> >> >>

>>> >> >> .

>>> >> >>

>>> >> .

>>> >>

>>> .

>>>
 
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
 
Back
Top