Anton Tajanlangit
asked on
How do I remove dot underscore files from my Windows 10 machine?
I copied a lot of files from my Macbook Pro to my Windows 10 machine, and they turned up with plenty of dot underscore files. How do I quickly remove all of them?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I don't need to let them stay on my computer, which renaming them will just do.
ASKER
MASQ, how and where do I do this? Please guide. Thanks.
Hit the "Windows" key, type in CMD, right click on "Command Prompt" and choose "Run as Administrator". You then run the command in that window.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
MASQ, is this the "Windows PowerShell?" That's what I see instead of the "Command Prompt (admin)" that you mentioned.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What is the PowerShell, by the way? Why should the Command Prompt be better?
No, your Personalisation settings have been set to use Powershell in preference.
Change them back temporarily
Open Windows Settings > Personalization
Click on the slider "Replace Command Prompt with Windows Powershell ..."
Then you'll see Command Prompt instead
Change the setting back when you've finished
Change them back temporarily
Open Windows Settings > Personalization
Click on the slider "Replace Command Prompt with Windows Powershell ..."
Then you'll see Command Prompt instead
Change the setting back when you've finished
Command is simply more familiar and better for most of us to use
Powershell isn't the default setting so you probably set that up originally or this is a machine you've been supplied with. It's a far more powerful tool for system control but uses a different syntax. As you weren't sure how to open the elevated command prompt I've taken you this route as it's simpler.
ASKER
I did all the steps as instructed, but this came up in the Command Prompt window:
Could Not Find C:\._.*
Could Not Find C:\._.*
ASKER
I checked and I still found the pesky files.
OK let's test the command:
Find a folder containing the ._.* files
Right-click on the address bar in Windows Explorer and copy the folder address as text
Open the command prompt
type CD <space> and then paste in the path to the folder, press enter
The prompt should now show that path
Now paste in:
del /s /q /f /a ._.* and press enter
Find a folder containing the ._.* files
Right-click on the address bar in Windows Explorer and copy the folder address as text
Open the command prompt
type CD <space> and then paste in the path to the folder, press enter
The prompt should now show that path
Now paste in:
del /s /q /f /a ._.* and press enter
ASKER
Could it be that the command should instead be with ._*.* instead of ._.*?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It worked.
With help from you :)
Just an info on "Powershell isn't the default setting" - it is. Starting with v1703 it is.
Thanks McKnife - so it is
http://www.bulkrenameutility.co.uk/Download.php