Jump to content

[SOLVED] Issue with files in flash drive


sanjoa

Recommended Posts

Hi, guys? How are ya? I've gotta an issue with some files in a flash drive (pendrive): it's from my mom's. She copied some files from the computer to it and went to the photocopier shop to print the documents. The thing is the computer were they plugged the pendrive gotta virus/malware in it, so the drive has been infected. I deleted viruses / malware and documents are there, but hidden and I can't make them visible again (properties are locked). Is there anyway to fix this? Some documents she does not have a backup in the computer. Thanks in advance :)

Edited by sanjoa
Link to comment
Share on other sites


  • Replies 25
  • Views 3.2k
  • Created
  • Last Reply

Top Posters In This Topic

  • sanjoa

    9

  • Whoopenstein

    4

  • rach

    3

  • geeteam

    2

Top Posters In This Topic

@ECHO OFFATTRIB -S -H -R X:\*.* /SATTRIB -S -H -R X:\** /S /DEXIT

Copy and save it as show_usb_contents.BAT (or with any name.BAT). This script will show all files and folder located in X:\

Link to comment
Share on other sites


use a disk/data recovery software; scan the drive and you get all ur files back

Link to comment
Share on other sites


Use a disk recovery software - scan the drive and you will get all your hidden files

Link to comment
Share on other sites


I've solved it. Just did this

Go to Run then type CMD and press ENTERThen type ATTRIB -R -H -S *.* /S /D and press ENTER
Link to comment
Share on other sites


I've solved it. Just did this

Go to Run then type CMD and press ENTERThen type ATTRIB -R -H -S *.* /S /D and press ENTER

I'm glad to hear that.

At command prompt to display help for the ATTRIB command:

ATTRIB /?

Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]

[drive:][path][filename] [/s [/D] [/L]]

+ Sets an attribute.

- Clears an attribute.

R Read-only file attribute.

A Archive file attribute.

S System file attribute.

H Hidden file attribute.

I Not content indexed file attribute.

[drive:][path][filename]

Specifies a file or files for attrib to process.

/S Processes matching files in the current folder

and all subfolders.

/D Processes folders as well.

/L Work on the attributes of the Symbolic Link versus

the target of the Symbolic Link

Link to comment
Share on other sites


The thing is, I think the drive is broken. I can't reformat it. It says Windows cannot format it. Using HP USB Disk Storage Format tool did not work too

Link to comment
Share on other sites


I've solved it. Just did this

Go to Run then type CMD and press ENTERThen type ATTRIB -R -H -S *.* /S /D and press ENTER

I'm glad to hear that.

At command prompt to display help for the ATTRIB command:

ATTRIB /?

Displays or changes file attributes.

ATTRIB [+R | -R] [+A | -A ] [+S | -S] [+H | -H] [+I | -I]

[drive:][path][filename] [/s [/D] [/L]]

+ Sets an attribute.

- Clears an attribute.

R Read-only file attribute.

A Archive file attribute.

S System file attribute.

H Hidden file attribute.

I Not content indexed file attribute.

[drive:][path][filename]

Specifies a file or files for attrib to process.

/S Processes matching files in the current folder

and all subfolders.

/D Processes folders as well.

/L Work on the attributes of the Symbolic Link versus

the target of the Symbolic Link

So basically the command you used cleared the attributes of Read Only, Hidden, and System but also processed all files in sub-folders. It would be safer to do it without the /S /D at the end. I believe the System attribute is what the problem was.

Link to comment
Share on other sites


@TheAsian that didn't work. But thanks for the effort
@Whoopenstein that didn't work. It seems drive is broken

Link to comment
Share on other sites


You can also try Active@ KillDisk, I mean that DOS edition, where you don't actually restart your computer, although you need 2nd usb stick for this.

Link to comment
Share on other sites


You could also try deleting the partition and recreating it using a live linux cd :)

Manys the time i have fixed a windows disk issue using linux...

If that doesnt work, its hosed, time to move on.

Edited by stylemessiah
Link to comment
Share on other sites


Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...