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

Comments, questions, bug reports, etc.
Post Reply
shelvacu
Posts: 1
Joined: Sun Nov 21, 2021 3:37 am

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

Post 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
JFX
Posts: 40
Joined: Tue Aug 18, 2015 3:59 pm

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

Post by JFX »

That is normal Windows behavior. For the root folder you always need ?:\.
C: means the current working directory of the drive.
Post Reply