HyperHacker Posted April 28, 2006 Share Posted April 28, 2006 This is a problem that I've had basically as long as I've been using XP, but I never really paid any attention to it until now. I want to use the "at" command to run a music player of some sort at a given time. If I do this:at 03:53 c:\progra~1\winamp\winamp f:\music\misc\bananaphone.mp3It just doesn't run, shows an error when I run "at" again (just "error" next to the item and it's rescheduled for tomorrow) and the system log says it can't find the file. The same happens with any other program. I can run F:\test.bat, and it works, but the program (tried both Winamp and VLC) doesn't create a window, so I have to terminate the process to stop it; also, it runs a second instance of Winamp even though it's configured not to allow this. I suspect the problem may be related to the program being run as LOCAL SYSTEM instead of my own account, but I dunno what to do about it. Link to comment Share on other sites More sharing options...
cluberti Posted April 28, 2006 Share Posted April 28, 2006 First, you need to add the /INTERACTIVE switch if you want anything to be able to interact with session 0 (the desktop), otherwise things may not work properly (especially when running as SYSTEM). Link to comment Share on other sites More sharing options...
HyperHacker Posted April 28, 2006 Author Share Posted April 28, 2006 Alright, thanks! That gets it to show up. Still can't imagine why it fails to find files, though; guess a batch file will do.Is it possible to have the computer come out of standby mode at a specific time? Link to comment Share on other sites More sharing options...
cluberti Posted April 29, 2006 Share Posted April 29, 2006 You'd either need to configure a WOL server and have a WOL-enabled NIC for this to work, or a 3rd party application that can do this (I'm not aware of any, but perhaps one exists). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now