I was using NodeJSPortable on a PortableApps flash drive that was plugged into a computer I didn't have administrative access to. I tried running npm install socket.io not only did it not work but it changed the file names in one of the node.js directories to invalid file names so that I can't even delete them. The file names are using characters I've never even seen before and I can't rename them because the file "doesn't exist" how do I delete files no matter what the name is? I can't delete them from the file explorer. I tried a Linux mint and a Windows 7 and 8 to delete the files none of them worked. The PortableApps platform is built for Windows. picture of the files

  • What operating system? Please edit your question and add the correct tags for your OS. – DavidPostill Nov 13 '15 at 12:44
  • I tried both a Linux mint and a Windows 7 and 8 to delete the files neither worked. The PortableApps platform is designed for Windows. – Binvention Nov 13 '15 at 12:46
  • Please give some example filenames. – DavidPostill Nov 13 '15 at 12:46
  • I can't. They are alt key characters or something like that. Not supported by what I'm using for stack exchange – Binvention Nov 13 '15 at 12:49
  • You should at least be able to provide a screenshot. Upload your image to Imgur and you will get a link you can share. Edit your question to include this link and someone with sufficient reputation will inline the image for you. – DavidPostill Nov 13 '15 at 12:50

Try to use windows PE, because in there, no permission.

| improve this answer | |
  • it isnt a question of permissions it is a question of the file system being able to access the file itself. since the file system only recognizes standard characters it cant find the file in order to delete it. – Binvention Nov 13 '15 at 17:35

You should be able to delete the files this way:

  1. Determine what file system code page has the other computer. (For details, see the link below.)
  2. Switch your computer to that code page.
  3. Now all the file names should appear correct and all file operations including deletion should be possible.
  4. Switch the code page back to your original one.

I recently wrote an answer at the StackOverflow to cover some details of this situation.

Of course, in some cases there could be easier way: simply reformat your flash drive. :)

How to avoid the problem:
Do not let filenames with national Unicode characters go plain to non-NTFS drive. If you need them there, zip them.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.