Other Help Topics :: 2 directories showing same name



Maybe this is normal for Linux, or for ndiswrapper, please excuse me if it is:

I've installed ndiswrapper twice.  The first was a couple of weeks ago, I think I spec'd a wpa file for that one.  The second was this morning.

When I console to /etc/ndiswrapper and execute ls -al, I see two directories with exactly the same name.  After I deleted the first one (rm folder -R), navigating to the second one with cd showed me that the second one, that is the older one, is really named folder^M.  This happens because cd autoexpands to cd folder^M/ while I make the change.  Once inside the folder, the console prompt does not show the ^M any more.

Is this normal?  How come the cd command shows the extra characters but neither ls nor the prompt do?

And now my console cursor is staying at the first character in the prompt instead of at the the end.  I'm signed in as root, so my prompt looks like # oot@box:/etc/ndiswrapper/folder and the cursor is where the first and only blank shows up in the prompt.

Am using 4.1RC3 HD installed traditionally.

How did that folder get created?
Afaik ^M is the carriage return character, which is a newline... so it just happens that your shell prompt parses this, so you end up with your cursor at the next line.

I don't know.  I ran ndiswrapper -i a couple of times, and there they were.
Hm, it probably tries to get the filename from some .inf files that have the CR character.  Probably nothing to be worried about.
Not worried, but it's confusing to see twin folder names... especially when one of them is misrepresented.
Next Page...
original here.