January 29th, 2007, 02:59 AM
.bat and .cmd files
I have created a file called test.cmd. I need to schedule this file to run every Saturday. But while schedulinh I wrongly gave the file extension as .bat instead .cmd i.e while scheduling, I gave the file name as test.bat.
The scheduler returns as an error saying, test.bat file doesn't exist.
Is it not possibe to call a file with extension .cmd as .bat?
January 29th, 2007, 11:17 PM
You could try renaming the file to .bat then, or delete your scheduler command and re-add it with the correct extension.
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne
"I wouldn't hire a butcher to fix my car. I also wouldn't hire a marketing firm to build my website." - Nilpo
February 9th, 2007, 01:07 PM
On the regular command prompt, you can also schedule programs to run at specific times using the at command.
This should stop you from creating your own programs, and should be a little easier to do.