#495·monolith

Windows: could not prepare output

Author: AntieverCreated Jul 18, 2026Updated Jul 18, 2026

@"%~dp0monolith" %url% -o %DOMAIN%.html works fine @"%~dp0monolith" %url% -o %outpath%%DOMAIN%.html error:

thread 'main' panicked at src\main.rs:291:18:
could not prepare output: Os { code: 3, kind: NotFound, message: "The system cannot find the path specified." }

The path is pre-checked for existence - everything is ok with it "F:\TempFiles\name.html"

stack backtrace:
   0:     0x7ff6de0b3c11 - <unknown>
   1:     0x7ff6de0cd66a - <unknown>
   2:     0x7ff6de0af607 - <unknown>
   3:     0x7ff6de0b3a55 - <unknown>
   4:     0x7ff6de0b564f - <unknown>
   5:     0x7ff6de0b53b2 - <unknown>
   6:     0x7ff6de0b5e8f - <unknown>
   7:     0x7ff6de0b5c29 - <unknown>
   8:     0x7ff6de0b435f - <unknown>
   9:     0x7ff6de0b582e - <unknown>
  10:     0x7ff6de0e43a1 - <unknown>
  11:     0x7ff6de0e4770 - <unknown>
  12:     0x7ff6ddd86831 - <unknown>
  13:     0x7ff6ddd97376 - <unknown>
  14:     0x7ff6ddd9d91c - <unknown>
  15:     0x7ff6de0a8ddc - <unknown>
  16:     0x7ff6ddd9592c - <unknown>
  17:     0x7ff6de0d41e0 - <unknown>
  18:     0x7ff970dd7034 - BaseThreadInitThunk
  19:     0x7ff9718c2651 - RtlUserThreadStart

Could the problem be that the destination directory is on a different disk?