Task scheduler: The system cannot find the file specified

breebreebran

New Member
Messages
5
I tried using a batch file to run ccleaner at log on. But it always takes forever when it cleans Firefox.
So I made a batch file to just delete the Firefox temp folder. And I unchecked Firefox in ccleaner so ccleaner ignores Firefox.
Here's the batch file.

Code:
RMDIR 5bngz3ew.default /S /Q

I put it in the task scheduler. When I run it it says it cant find the file specified (0x80070002)
I set the task to run with highest privileges.
But every time I run it it gives that error. I don't know why its giving an error when it deletes the folder. So it works fine.
I just want to know why its producing an error.
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Custom build
    CPU
    Intel core i3 2100
    Motherboard
    GIGABYTE GA-B75M-D3V LGA 1155 Intel B75 SATA 6Gb/s USB 3.0 Micro ATX Intel Motherboard
    Memory
    8GB
    Graphics Card(s)
    Onboard intel hd 2000
    Browser
    Firefox
    Antivirus
    Avast! free
The path is wrong. It will be something like: C:\Users\<yourusername>\AppData\Roaming\Mozilla\Firefox\Profiles\5bngz3ew.default
 

My Computer

System One

  • OS
    Windows 10 Pro X64
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Lenovo IdeaCenter K450
    CPU
    Intel Quad Core i7-4770 @ 3.4Ghz
    Motherboard
    Lenovo
    Memory
    16.0GB PC3-12800 DDR3 SDRAM 1600 MHz
    Graphics Card(s)
    Intel Integrated HD Graphics
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    HP h2207
    Screen Resolution
    1680x1050@59Hz
    Hard Drives
    250GB Samsung EVO SATA-3 SSD;
    2TB Seagate ST2000DM001 SATA-2;
    1.5TB Seagate ST3150041AS SATA
    PSU
    500W
    Keyboard
    Wired USB
    Mouse
    Wired USB
    Internet Speed
    3GB Up, 30GB Down
    Browser
    SeaMonkey
    Antivirus
    Windows Defender; MBAM Pro
    Other Info
    UEFI/GPT
    PLDS DVD-RW DH16AERSH
Built-in Option

CCleaner has a built-in option that can be set to make it run when the computer starts (i.e. you don't need to use a batch file).

CCleaner - Options.png
 

My Computer

System One

  • OS
    Windows 7 Ultimate SP1 (64 bit), Linux Mint 18.3 MATE (64 bit)
    Computer type
    PC/Desktop
    System Manufacturer/Model
    n/a
    CPU
    AMD Phenom II x6 1055T, 2.8 GHz
    Motherboard
    ASRock 880GMH-LE/USB3
    Memory
    8GB DDR3 1333 G-Skill Ares F3-1333C9D-8GAO (4GB x 2)
    Graphics Card(s)
    ATI Radeon HD6450
    Sound Card
    Realtek?
    Monitor(s) Displays
    Samsung S23B350
    Screen Resolution
    1920x1080
    Hard Drives
    Western Digital 1.5 TB (SATA), Western Digital 2 TB (SATA), Western Digital 3 TB (SATA)
    Case
    Tower
    Mouse
    Wired Optical
    Other Info
    Linux Mint 16 MATE (64 bit) replaced with Linux Mint 17 MATE (64 bit) - 2014-05-17
    Linux Mint 14 MATE (64 bit) replaced with Linux Mint 16 MATE (64 bit) - 2013-11-13
    Ubuntu 10.04 (64 bit) replaced with Linux Mint 14 MATE (64 bit) - 2013-01-14
    RAM & Graphics Card Upgraded - 2013-01-13
    Monitor Upgraded - 2012-04-20
    System Upgraded - 2011-05-21, 2010-07-14
    HDD Upgraded - 2010-08-11, 2011-08-24,
Back
Top