Command prompt use on pen drive - command-line

I am using windows 7. In my pen drive there was some data. I had scanned it with Antivirus. There were some viruses and they were healed by Antivirus. But I am not able to see the files inside the Pen drive after that. I enabled hidden files visibility also. I tried to use Command prompt also with dir command, but it didn't work. dir is working for other drives, but not for the pen drive. In Pen drive, the used space is still the same as before the virus got in the pen drive. So I concluded data is still there, but I can't see it.
Can anyone tell me any other way to browse the data of pen drive since the data is really important?

i've got this once,try making system file visible
you can refer this for better understanding and to solve in case problem is what i suspect

Related

PowerShell autoloading custom module "preparing modules" message stuck

I'm having a weird issue using a network location to autoload a custom PowerShell module I wrote for my department. I added the path to the network folder in the registry on my desktop and laptop and both exhibit the same issue. I saved the module to that folder, and now every single time I launch PowerShell, whether ISE or the console, the "Preparing modules for first use" message displays, but never goes away:
Oddly enough, I'm still able to use the functions in the module with no issues, and the message goes away after I run a command, but until then it just stays there. I have left it alone for hours to see if it would ever go away, but it never does until I run something. For me it's not a big deal, but I'm going to share this module with my team and it may cause confusion for them, plus it's just kind of annoying so I'd like to figure out why the message sticks. Anyone ever see this?
So after some testing, I've discovered, for whatever reason, this behavior happens when you add a UNC network path to the PSModulePath registry key to permanently add the path to the $env:PSModulePath variable. I changed the path in the registry key to a mapped drive path, with a drive letter, to the same network location, and I don't get the annoying lingering message. It appears PowerShell just doesn't like module paths preceded by "\".

Possible to programmatically copy files from a USB drive to a user's computer?

I am working on a solution to provide files to my vendors and was thinking that sending out USB thumb drives that would allow users to easily copy the files on the thumb drive to their computers. Of course, I want to make this as idiot-proof as possible so I would like to do it programatically. My initial thought was to make a bootable USB drive with an autorun.ini file which would, in turn, launch a batch file which would copy the files to their computer. However, after a bit of research, I have discovered that Windows 7 and later does not support autorun.
So my next thought was to maybe use Javascript or some other language to do this for me but I have not found any solutions.
Is it possible to programmatically copy files from a USB drive to a users computer? It can be user initiated, just want it to be something simple like a button they click and then a pop-up asks them where they want to save the files on their computer.
make the batch file and instead of activating it with autorun.ini make them execute it manually or from windows+r "h:\batch.bat"

Matlab: search path locked for editing?

I have written some database management software in Matlab. Occasionally data is labeled incorrectly and must be moved manually using windows explorer. All of the folders of the database are in the matlab search path via addpath(DataBaseRootDir). When one attempts to move or delete a folder in the search path, windows gets stuck waiting for Matlab to stop accessing the folder.
Is there a way to prevent this programmatically? It is always possible to close Matlab, make chances, and re-open the software but this is sub-ideal.
Thanks!
http://de.mathworks.com/help/matlab/ref/rmpath.html
rmpath(DataBaseRootDir)
Be aware that like addpath this will only remove the directory, but leave any subdirectories in the path, so if the directory has subdirectories that are also in the path, you would need to remove them as well.

Raspberry pi resetting after reboot

I am trying to over clock my rasbian raspberry pi, but when I change any files beyond /sys/devices/system/cpu and restart, the changes are not saved. I tried echoing to the files and nano and cat. Nothing will work.
SysFS (mounted on /sys) is not a regular filesystem, the elements in this FS represent different aspects and options exposed by the kernel and modules, as such, those parameters are not persisted on secondary memory.
Is normal that changes under that directory are not saved (the only ones I recall to be saved are some settings about power saving in some notebooks, those settings were saved in the BIOS), in order to have the changes on every reboot you should create a init script or modify /etc/rc.local (on Debian based systems as Raspbian).
My SDcard was doing the same thing.
I tried to re-burn the image to the card, but it still had the same problem.
I burnt the image to another SD card, and it worked right away.
More than likely the card was corrupted or damaged

(anti-)virus preventing my apps from working?

On my other PC (windows XP SP2) i ran my app from my main pc using msvc05 to sort files across the network and found it couldnt move directories. One app i used on that PC couldnt function properly. All the files were automatically read only. Now on this PC i have the same symptom. Nothing act funny quiet yet (tortoiseSVN did but i am not sure readonly was the problem) but i know eventually it will. Why is everything read only? i googled the problem and it said turn off bitdefender. I havent DL bitdefender. I DL norton antivirus and gave my comp a scan, no virus came up. Whats going on?
NOTE: On this pc the read only box does not have a checkmark but a square. Going into the folder all files have a empty box. I turned on view invisible files and system files. I dont see anything in that folder. The other PC i think may have checkmarks but i am unsure.
Are you sure you (or your app_) has the rights to write in those directories?
If you only have read rights, it apears as if the files are readonly.