Questions tagged [drive]

Use this tag for questions related to physical disk drives. If your question is about the Google Drive API, use [google-drive-sdk]. For Google Apps Script's Drive Service (Class DriveApp) use [google-apps-script].

Drive(disk drive) - the controller and mechanism for reading and writing data on computer disks(a spinning magnetic disk, magnetic disk pack, floppy disk, or optical disk).

Early operating systems used a command line interface in which the user typed short commands, often followed by various parameters and options. For operations on disks, one commonly specified the disk name or drive number (or letter).

References:

958 questions
-2
votes
2 answers

How i can download the pdf file from the drive in android

I have created a application that download the file from the url and open it but when i tried to download the file from my drive it downloaded but format is different that why that file does not open i want to download the drive file in PDF format…
Ajeet Jain
  • 47
  • 7
-2
votes
2 answers

Google Drive folder with Bash Windows

I have installed WSL (Windows Subsystem for Linux) and it works perfectly. I like opening bash with CMD or PowerShell typing "bash" because it keeps the same folder. For example: PS C:\Users> bash root@X /mnt/c/Users # I also use Google Drive…
-2
votes
1 answer

bash script failure to mount disk

I have 2 scripts, script.sh: ./mount.sh and, mount.sh: mount /dev/sdb4 /mnt/mountpoint script.sh does some steps and invokes mount.sh which mounts the disk that is sdb. The mount.sh script works fine, but, when invoked from the scripts.sh script…
silvermangb
  • 355
  • 2
  • 11
-2
votes
3 answers

How to get the path for a usb flash drive

I made this code where it copies a file on my computer to the USB attached to the before mention computer. Here is my code: FileInfo file = new FileInfo(all_path); file.CopyTo(@"E:\tst\test\testing"); When I try using this…
banana lord
  • 22
  • 1
  • 8
-3
votes
1 answer

Using C#, I am getting an error using Files.Get Google Drive API

My overall project is to create a spreadsheet, populate it, move it to a new location and lock it. So far creating the sheet and populating it is fine. However, when I attempt to move the file I get the following error: Happens at this part of the…
warrenk
  • 119
  • 1
  • 7
-3
votes
1 answer

Is possible to get drive free space in .NET Standard?

I have a 3 projects: 1 - .NET Core app 2 - .NET Framework app 3 - .NET Standard library where is common code for both first and second app projects. ...I want to check my drive free space in .NET Standard library to perform other following…
-3
votes
1 answer

Writing a script that prints information about a directory

My script needs to take in a directory as its only argument, and then print out the following information: How full is the drive in which the directory is in? (%) How many files there is in the directory (inc. subdirectories), average file size and…
-3
votes
1 answer

How to make a bootable USB drive from backup files of another bootable USB drive?

I had a bootable windows 7 pen drive (sandisk 4 GB). Later, I got to use the pen drive for some other purpose, so i copied all the files from pen drive onto my hard disk. Now I want to use those files to make another bootable drive (A kingston 4 GB…
Rajesh Kumar
  • 243
  • 2
  • 4
-4
votes
0 answers

I want auto create folders in drive but appscript not working. I used ChatGPT

My code: function createFolderInManagedSharedDrives() { var pageToken = null; var pageSize = 100; // Adjust as needed do { var response = Drive.Drives.list({ pageToken: pageToken, supportsAllDrives: true // Use true without…
-4
votes
1 answer

Batch File Assign Drive Letter

I have found this to work and added the shutdown and restart explorer to reflect drive changes. I cannot get it tweaked to allow search by drive letter instead of drive description. My reason for needing to change drive letter is due to the…
-4
votes
1 answer

How do I use the drive I just mapped on net use? (C++)

I'm writing code on C++ that will map to the nearest available drive using "net use * \server...etc" and afterwards I want to open a file on it. Is there a command that will let me interact with this new drive without needing to know on which drive…
J. Doe
  • 1
  • 2
-4
votes
3 answers

Getting Drive Letter using the Drives Property Name

I have a backup up batch file that I run on several computers and laptops the file is located on different drive (letters) on each machine. So the batch file needs to determine the files location and then run it from that drive, so is there a way…
-4
votes
1 answer

Denwer and php: another drive

I'm using denwer as my wamp-server, o have code, that exports graphics, but on my drive I have little free space, and i want to save this files for example to the D: drive. How would I do this? Also here is part of my code: while($row =…
byCoder
  • 3,462
  • 6
  • 28
  • 49
1 2 3
63
64