Page 1 of 1

Bug report: Specifying a drive letter with no slash ("C:" rather than "C:\") doesn't scan correctly

Posted: Sun Nov 21, 2021 3:48 am
by shelvacu
Just now I tried to run wimcapture with a source of "C:". This found some files:

5741 MiB scanned (16296 files, 2605 directories)

But I have much more than that on my machine. When I changed the source arg to "C:\", it works as expected.

Code: Select all

PS C:\Users\Shelvacu> wimcapture.exe --version
wimlib-imagex 1.13.4 (using wimlib 1.13.4)
Copyright (C) 2012-2021 Eric Biggers
License GPLv3+; GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Report bugs to https://wimlib.net/forums/.
Running windows 10 version 21H2

Re: Bug report: Specifying a drive letter with no slash ("C:" rather than "C:\") doesn't scan correctly

Posted: Mon Nov 22, 2021 4:25 pm
by JFX
That is normal Windows behavior. For the root folder you always need ?:\.
C: means the current working directory of the drive.