General Question

SirBailey's avatar

Vista Task Scheduler Experts - I can't get the program "Tray Status" to run automatically.

Asked by SirBailey (3130points) July 3rd, 2009

Admittedly, I don’t know what I’m doing. I think the problem is in my action statement which is:
schtasks/run/tn “TrayStatus.exe”

(I copied that from an article. Haven’t a clue as to what it means).

It keeps saying the run was successful, however, it’s supposed to make the status of my caps lock/num lock/scroll keys appear on my task bar and it does not.

Observing members: 0 Composing members: 0

4 Answers

jrpowell's avatar

I don’t really know Windows. But “TrayStatus.exe” isn’t really telling it where the file is. Try a complete path or cd into into the directory the file is in before running the command.

Example:

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985–2001 Microsoft Corp.

C:\Documents and Settings\johnpowell>ls
‘ls’ is not recognized as an internal or external command,
operable program or batch file.

C:\Documents and Settings\johnpowell>dir
Volume in drive C has no label.
Volume Serial Number is 94B7-A2D4

Directory of C:\Documents and Settings\johnpowell

07/01/2009 10:36 AM <DIR> .
07/01/2009 10:36 AM <DIR> ..
07/01/2009 10:03 AM <DIR> Start Menu
07/01/2009 04:32 PM <DIR> My Documents
07/01/2009 04:02 PM <DIR> Favorites
07/01/2009 10:03 AM <DIR> Desktop
0 File(s) 0 bytes
6 Dir(s) 5,222,629,376 bytes free

C:\Documents and Settings\johnpowell>cd Desktop

C:\Documents and Settings\johnpowell\Desktop>dir
Volume in drive C has no label.
Volume Serial Number is 94B7-A2D4

Directory of C:\Documents and Settings\johnpowell\Desktop

07/01/2009 10:36 AM <DIR> .
07/01/2009 10:36 AM <DIR> ..
0 File(s) 0 bytes
2 Dir(s) 5,222,629,376 bytes free

C:\Documents and Settings\johnpowell\Desktop>

SirBailey's avatar

I tried that. Running it your way reported back failure. Running it as I have it above reported back success, but it didn’t do what I wanted. It didn’t seem to do anything. Now watch, it’s probably deleting chunks of my hard drive as we speak.

SirBailey's avatar

@johnpowell, It is WORKING!!! After I read your post, I tried the “path” sequence again. I copied and pasted directly from “properties” of Tray Status.exe. It works!!! My original path must have been wrong!! Thanks for the help!!! I’ve been working on it for DAYS!!!

jrpowell's avatar

Awesome. Glad I could help.

Answer this question

Login

or

Join

to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
or
Knowledge Networking @ Fluther