![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| Guest | Task Scheduler - command <schtasks /query /fo csv /nh> does not wo Does anyone experience the following problem that I have with the schtasks.exe command: (1) Start Command Prompt (2) Type a schtasks command line to do a query of scheduled tasks; format = comma-separated-values (csv), option = no headers (nh). Syntax of the command line : schtasks /query /fo csv /nh (3) Result : I receive following error-message: ERROR: /NH switch cannot be used with the LIST format (4) Comment 1: I asked for a CSV output, not a LIST output! (5) Comment 2: According to schtasks.exe documentation (see link hhtp://msdn2.microsoft.com/en-us/library/bb736357.aspx) the /NH parameter of the schtasks.exe command should work with the /FO CSV output format ("Parameter /NH ... This is valid only for TABLE and CSV formats."). (6) Additional information about VISTA I am using: (6.1) Vista Home Premium (6.2) the schtasks.exe module (in C:\windows\system32) has revision 6.0.6000.16386 Thanks for suggestions. |
My System Specs![]() |
| | #2 (permalink) |
| Guest | RE: Task Scheduler - command <schtasks /query /fo csv /nh> does not wo Hi Herman, I have tried to do what you have tried, both at a standard CMD prompt and at an elevated CMD prompt. I got the same result as you both times. However, the command worked when you used the /FO TABLE format instead of the /FO CSV format. This is either a bug in Vista, or they have got the command help file wrong. Dwarf "Herman VL" wrote: Quote: > Does anyone experience the following problem that I have with the > schtasks.exe command: > > (1) Start Command Prompt > (2) Type a schtasks command line to do a query of scheduled tasks; format = > comma-separated-values (csv), option = no headers (nh). > Syntax of the command line : schtasks /query /fo csv /nh > > (3) Result : I receive following error-message: > ERROR: /NH switch cannot be used with the LIST format > > (4) Comment 1: I asked for a CSV output, not a LIST output! > > (5) Comment 2: According to schtasks.exe documentation (see link > hhtp://msdn2.microsoft.com/en-us/library/bb736357.aspx) the /NH parameter of > the schtasks.exe command should work with the /FO CSV output format > ("Parameter /NH ... This is valid only for TABLE and CSV formats."). > > (6) Additional information about VISTA I am using: > (6.1) Vista Home Premium > (6.2) the schtasks.exe module (in C:\windows\system32) has revision > 6.0.6000.16386 > > Thanks for suggestions. |
My System Specs![]() |
| | #3 (permalink) |
| Guest | RE: Task Scheduler - command <schtasks /query /fo csv /nh> does no I have the strong feeling it is a bug: (1) according to Microsoft documentation the command <schtasks /query /fo csv /nh> should work. (2) I have used this command before on a Windows XP PC Then : HOW SUBMIT A BUG REPORT TO MICROSOFT ? "Dwarf" wrote: Quote: > Hi Herman, > > I have tried to do what you have tried, both at a standard CMD prompt and at > an elevated CMD prompt. I got the same result as you both times. However, the > command worked when you used the /FO TABLE format instead of the /FO CSV > format. This is either a bug in Vista, or they have got the command help file > wrong. > Dwarf > > "Herman VL" wrote: > Quote: > > Does anyone experience the following problem that I have with the > > schtasks.exe command: > > > > (1) Start Command Prompt > > (2) Type a schtasks command line to do a query of scheduled tasks; format = > > comma-separated-values (csv), option = no headers (nh). > > Syntax of the command line : schtasks /query /fo csv /nh > > > > (3) Result : I receive following error-message: > > ERROR: /NH switch cannot be used with the LIST format > > > > (4) Comment 1: I asked for a CSV output, not a LIST output! > > > > (5) Comment 2: According to schtasks.exe documentation (see link > > hhtp://msdn2.microsoft.com/en-us/library/bb736357.aspx) the /NH parameter of > > the schtasks.exe command should work with the /FO CSV output format > > ("Parameter /NH ... This is valid only for TABLE and CSV formats."). > > > > (6) Additional information about VISTA I am using: > > (6.1) Vista Home Premium > > (6.2) the schtasks.exe module (in C:\windows\system32) has revision > > 6.0.6000.16386 > > > > Thanks for suggestions. |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| Task Scheduler - taskeng.exe command line | General Discussion | |||
| Launch command window from task scheduler | Vista General | |||
| Unable to use Schtasks command to schedule task for users group | Vista General | |||
| Task Scheduler query | Vista General | |||
| Task Scheduler Command Line XML | Vista General | |||