ERROR_BAD_CURRENT_DIRECTORY 0x800702BF

Error code 703 · HRESULT 0x800702BF

WINDOWS

The process cannot switch to the startup current directory …. Select OK to set current directory to …, or select CANCEL to exit.

Windows troubleshooting diagram: Device Manager warning and a system file scan
Windows errors: check drivers, system files and Event Viewer, in that order.

What it means

ERROR_BAD_CURRENT_DIRECTORY is a Windows error code (system error 703, returned as HRESULT 0x800702BF) reported by Windows. Its official message is: “{Invalid Current Directory} The process cannot switch to the startup current directory %hs. Select OK to set current directory to %hs, or select CANCEL to exit.”

How to fix ERROR_BAD_CURRENT_DIRECTORY

  1. Verify the path/file actually exists and is not blocked by antivirus quarantine
  2. Reinstall the application that raised the error to restore missing files
  3. Check the full path spelling (long paths >260 chars need a registry opt-in)

Related errors

Source: Microsoft WinError.h

Last updated: