|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
.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? please advice |
|
#2
|
||||
|
||||
|
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 Puzzle of the Month solved by Keath and KevinADC, superior perl programmers of the month Looking for a perl job with kick-*** programmers in a well-known NASDAQ listed tech company with branches in the US and Europe? We're hiring. PM me for details. Requirements |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > .bat and .cmd files |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|