> I'm creating a batch file that converts a .swf to an video file from the > command line in a cfm page, writing it out and trying to run it with > cfexecute. (I've tried running the program directly from cfexecute, > with no luck). > > What's really odd is when I RDP to the server in question, I can run the > batch file I created with CF with no problems, it runs for a bit then > spits out the video file. > > So... Unless somebody's got some idea on why that isn't working, I've > decided to try to schedule the .bat file I create with CF with the > windows 2003 task scheduler, using schtasks.exe, but I'm having problems > with that too. > > I try to run a command like so: > schtasks /create /tn createMovie47 /tr > d:\wwwroot\tours\47\youTube\createMovie.bat /sc once /st 18:45 /sd > 09/30/2008 > And I have to type in a password, but when I try to include the password > with /rp or /p I just run into problems.
First, you may need to specify full file paths to things like schtasks.exe. Second, when you run it from the console, are you using the same user account that CF is? Third, where exactly are you trying to enter a password? Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313306 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

