Win 7 interactive Task Scheduler batch help

Microsoft Windows 7 ultimate 64-bit
March 18, 2010 at 22:26:24
Specs: Windows 7
I was wondering if someone could help me with this issue that I am having in Windows 7. In Windows XP I created a batch file that will open folders from 8:00 until 16:00.

The batch file was used instead of putting entries directly into Task Scheduler because the same tasks aren't performed every day. If I didn't perform the task that day I didn't want folders opening up on me all the time. I would just run the batch file in the morning and I would be set for the day. The folders would open up every hour. Once the task has been run for that hour it would automatically be removed from Task Scheduler so I wouldn't be affected the next day.

There are a total of 8 different folders. Below is an example of what instructions I used in the batch file on one of the folders. The other 7 folders had the exact same set of instructions, just a different path name.

at 8:00 /interactive C:\WINDOWS\explorer.exe \\server\folder\path\

I would make an entry like this for each time period. So I would have another for 9:00, 10:00, all the way through 16:00.

This worked great in XP, however this no longer works in Windows 7. I get the below error when I run it.

Warning: Due to security enhancements, this task will run at the time
expected but not interactively.
Use schtasks.exe utility if interactive task is required ('schtasks /?'
for details).
Access is denied.

The folders never open. I think the code is correct otherwise I would get this error instead.

ERROR: Invalid argument

I am an admin of this computer so I don't know what is restricting me. Do I need to turn some setting on? Else if the code is wrong, can someone please tell me how it should look in order to work?

Thanks for your help.

See More: Win 7 interactive Task Scheduler batch help

March 19, 2010 at 03:09:39

might help...

i hate computers!
but cant help myself....

Report •

March 22, 2010 at 10:13:01
Thank you for the reply. I previously have looked at a page similar to this one. I’m still not sure how to get it to work.

This is the command that I am using.

schtasks /create /SC ONCE /ST 8:00 /tn "8:00 Meridium" /tr "\" C:\WINDOWS\explorer.exe “\\msapp55\maximo\maxprd\MEA_GlobalDir\error\\Meridium\”

I am getting this error:
ERROR: The filename, directory name, or volume label syntax is incorrect.

I am trying to open the folder \\msapp55\maximo\maxprd\MEA_GlobalDir\error\\Meridium\
The folder is on another server, as I’m sure you can tell. If I type it in just like that in the address bar it will open. I have tried many different variations of that.

I’m not sure, but I think with using the /tr it is looking to run an application and not just open a folder. All I want is for a folder to open.

I’m not sure how to create a task that will just open a folder and not a program. I know there has to be a way to do this. If anyone knows how, please let me know.


Report •
Related Solutions

Ask Question