Solved

schtask name trucated

Posted on 2013-01-07
3
359 Views
Last Modified: 2013-01-07
I am running windows xp sp 3.  when I run the command "schtasks /query" it returns any scheduled tasks but truncates the name to 36 chars.  can anyone tell me why?
0
Comment
Question by:dhenderson12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 26

Accepted Solution

by:
pony10us earned 500 total points
ID: 38752175
I believe that is simply a limitation of characters.  You can try running it this way:

schtasks /query /fo LIST /v

/fo LIST = list format for easier reading.
/v = verbose
0
 

Author Comment

by:dhenderson12
ID: 38752651
I was hoping to find a way around this, but I guess I'll live with it.  I pull it as a table because it's easier and faster to parse that way for my application.  Thanks for the answer.
0
 
LVL 69

Expert Comment

by:Qlemo
ID: 38753006
You are aware of the CSV method (/FO CSV), aren't you? That one is usually best for parsing, and has no length limitations.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question