Questions tagged [usb-flash-drive]

A USB flash drive is a data storage device that includes flash memory with an integrated Universal Serial Bus (USB) interface.

USB flash drives are typically removable and rewritable, and physically much smaller than a floppy disk. USB flash drives are often used for the same purposes for which floppy disks or CD-ROMs were used, i.e., for storage, back-up and transfer of computer files. They are smaller, faster, have thousands of times more capacity, and are more durable and reliable because they have no moving parts. wikipedia

127 questions
4
votes
2 answers

Python off a Flash Drive, how to start IDLE?

I was trying to run Python 3.3 off of my flash drive. I already tried Portable Python, but most of what it had wouldn't open, and it crashed my laptop. So, I deleted it, and installed regular Python. Then, I wanted to start adding my favorite…
evamvid
  • 831
  • 6
  • 18
  • 40
4
votes
1 answer

How to find the path of USB which is mounted to android?

I am working on an android application to read data from USB. The usb can be connected to android with serial port and my app can find it. Now, I want to read data files and folder from USB. I have read many articles. I found that they use this…
lvarayut
  • 13,963
  • 17
  • 63
  • 87
4
votes
0 answers

Can we get VID and PID from USB Flash drive in java?

I have a requirement to get VID and PID of removable Flash Drive in java? I have googled a lot I can not get any proper answer. Many of the communities there are few instructions but there is no proper instructions, which packages I have to import.…
Banshidhari
  • 478
  • 2
  • 12
4
votes
1 answer

How to write an image containing multiple partitions to a USB flash drive on Windows using C++

On Windows, you can only see the first partition on removable media. I want to write a C++ program that can write an image containing an MBR and 2 partitions of data to the USB flash drive. I don't need the 2nd partition to be viewable in Windows-…
Corey Velan
  • 1,311
  • 2
  • 10
  • 6
3
votes
0 answers

How to prevent windows from accessing and detecting new volumes while writing a raw image file to PhysicalDrive?

After lots and lots of try and error I am now able to flash/write a raw image file (containing multiple partitions) to \\.\PhysicalDriveN (SD-Card in my case) by just using Windows Api calls (see below). But as soon as I have some explorer windows…
maf-soft
  • 2,335
  • 3
  • 26
  • 49
3
votes
2 answers

Cross platform autorun

I am writing a program in qt that will be installed on a flash drive. I need it to run on several operating systems as soon as it is plugged in. I was thinking I could do this by putting all of the different os compiles in separate folders and…
a sandwhich
  • 4,352
  • 12
  • 41
  • 62
3
votes
3 answers

How can I detect if there is data activity on a USB flash drive with my own circuit?

I am currently working on a project for my university course. I am design a device which will be an intermediate interface between the computer and a USB flash drive, i.e. data go from computer->my device->USB drive. One of the functions I want on…
3
votes
1 answer

Command to find Active Drive

I am trying to build a VBScript to automatically run some .exe files. The problem is that the script and the .exe files are on a flashdrive, so it needs to find the current drive letter by itself. I can do it on a batch file using %~d0, but I like…
Wolf
  • 115
  • 3
  • 13
3
votes
1 answer

How to work programmatically with MBR and sectors of USB flash?

I develop application and write in Java. My application needs access to MBR of USB flash and to content of its sectors. I thought about using JNI: call methods in Java, their implementation is in C++, use only standard C functions, no WinAPI, no…
3
votes
2 answers

How to distinguish between USB Hard Disk Drive and USB flash drive?

In Windows, you can get GetDriveType return value to determine USB Hard Disk Drive or USB flash drive. DRIVE_REMOVABLE ==> USB flash drive DRIVE_FIXED ==> USB Hard Disk Drive How should I do it in linux? how should I do it from a developer's point…
kangear
  • 2,493
  • 2
  • 31
  • 44
3
votes
2 answers

Open a file automatically when USB is inserted

Ive been looking for answer to this questions for days, and still I haven't found anything about it. I'm trying to execute a .exe file when a USB flash drive is plugged in - WITHOUT asking the user for permission, I mean as soon as the USB is…
albeck
  • 510
  • 1
  • 7
  • 16
3
votes
1 answer

What is the best way to communicate between PC and USB device

Scenario is, I have an USB device with flash card for storage in it. I am going to write a PC app using c# to communicate/exchange data with this device. Something similar to various SYNC programs Two options that come to my mind are: Expose…
Bharat
  • 1,192
  • 7
  • 14
2
votes
2 answers

Site Backup on Flash Drive with Git

I'm new to git, so forgive me if I've missed the boat completely. I am coding sites on my laptop and in addition to Dropbox I would like to have a backup of everything that I've done stored elsewhere. This is when I learned about git. I…
ServAce85
  • 1,602
  • 2
  • 23
  • 51
2
votes
1 answer

Running SAS 9.4 from a flash drive

I have downloaded the SAS 9.4 suite on a flash drive. However, I do not have enough space on my hard disk to install SAS on my laptop. Is there a way I can run SAS from my flash drive, instead of installing it on my laptop? Operating system :…
N.M
  • 831
  • 9
  • 18
2
votes
0 answers

How to determine whether a USB drive is idle?

I'm working on a way to automatically suspend a USB drive for power saving when the device is idle. Since I'm working with an old kernel, it doesn't support autosuspend; but I can manually unbind the device and achieve the low power state. However,…
1
2
3
8 9