ive been trying to run a batch file using the AT command but when the scheduled time came when it supposed to run the batch file. it wont run. but when i run that batch file manually, interactively, there's no problem at all. do i missing something. i am using xp.
I've seen this before and it's usually inexplicable.
It might be due to where your batch file is on your system - try putting it somewhere generic like the Windows directory and making sure you specify the full path to it in your AT entry.
Something else you could try is making an AT entry to run something benign like wordpad.exe from your chosen location as a test tool.
Or the third possibility is that there is something in your batch file that will run interactively in a 'proper' command prompt but not via the AT command. To get round that, use the AT command to explicitly start another command shell then run your batch file in that. Look up 'cmd' in the Windows XP help
Re: AT command to run a batch file
12 years 6 months ago #13649