|
Answer» Hi there,
Haven't been here in a while, been (to) busy... ANYHOW, I've a problem with a script that I made. My OS is windows xp home.
@echo off color 40 title BITTORRENT night downloader >>c:/windows/torrent.bat ECHO @echo off >>c:/windows/torrent.bat ECHO cd C:\Program Files\BitTorrent >>c:/windows/torrent.bat ECHO "bittorrent.exe" >>c:/windows/torrent.bat ECHO pause :afsluiten if exist c:/WINDOWS/afluitenpc.bat goto end >>c:/windows/afsluitenpc.bat ECHO @echo off >>c:/windows/afsluitenpc.bat ECHO shutdown -s >>c:/windows/afsluitenpc.bat ECHO exit :end AT 00:28 c:/WINDOWS/torrent.bat AT 05:02 c:/WINDOWS/afsluitenpc.bat pause exit
The problem is, (it's for downloading torrents a night), according to windows the file torrent.bat is OPENED from 00:28 till 05:02 but that file doesn't open my torrentprogramm (bittorrent.exe). However, if I open it in the windows folder, it does open the program.
Why does windows schedular doesn't open my program that should open bittorrent? Quote @echo off color 40 title BitTorrent night downloader >>c:/windows/torrent.bat ECHO @echo off >>c:/windows/torrent.bat ECHO cd C:\Program Files\BitTorrent >>c:/windows/torrent.bat ECHO "bittorrent.exe" >>c:/windows/torrent.bat ECHO pause :afsluiten if exist c:/WINDOWS/afluitenpc.bat goto end >>c:/windows/afsluitenpc.bat ECHO @echo off >>c:/windows/afsluitenpc.bat ECHO shutdown -s >>c:/windows/afsluitenpc.bat ECHO exit :end AT 00:28 c:/WINDOWS/torrent.bat AT 05:02 c:/WINDOWS/afsluitenpc.bat pause exit
Try changing the highlighted line to: cd /d C:\Program Files\BitTorrent
Changed still don't work
If I go to scheduled task when the task should run I see under the status tab: the program could not be opened, however I'm 100% it existsWhat about QUOTES around the program path & name
cd "C:\Program Files\BitTorrent"
|