Skip to main content

AT command to run a batch file

More
18 years 7 months ago #13639 by monsky
hey guys,
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.

tnx again in advance
:D
More
18 years 7 months ago #13640 by TheBishop
Replied by TheBishop on topic Batch File
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
More
18 years 7 months ago #13649 by monsky
yes bishop, i am going try your suggestions.

tnx
Time to create page: 0.133 seconds