Questions tagged [drive-letter]

55 questions
0
votes
1 answer

Determine Windows drive letter using PHP

I looked a little bit but didn't find the answer. Is it possible to find out the servers system drive/folder without any hacks? In the answer that you provided it's only discussed how to determine current drive, but I need to find out the system…
0
votes
1 answer

Is there a way to copy files with a batch file to the folder that batch file is in?

So I am trying to make a batch file to sync an external hard drive. My hard drive is not always connected to the same letter, so i cannot just make a batch file with xcopy F:\Folder1 G:\backupharddrive because G:\backupharddrivewould be variable Is…
Djaantjie
  • 3
  • 3
0
votes
1 answer

How to add a drive letter to a Combo Box based on a Device ID string of SCSI

Based on my query How to find the true CD-Rom drive letter when a virtual drive is also installed? And the suggestion I got from here How to identify if a drive is virtual or physical I'd like to just fill a Combo Box of virtual drive letters when…
Exception
  • 71
  • 1
  • 9
0
votes
3 answers

How do i get drive letter for a running form

I need to get the letter of the drive my form is running from. The reason why i need this, is because i'll be copying a text file (from the removable drive in which the form will be) to the computer. Is it even possible? If yes could someone help me…
KirChhOff
  • 21
  • 5
0
votes
2 answers

Java Servlet absolute paths outside webfolder [ Windows & Linux ]

Disclaimer : At the moment, due to lack of a Linux dev/test server, I am currently unable to test this myself. Hence me asking the question here. I will have a Linux box eventually but am currently confined to using Windows. I am designing a webapp…
thonnor
  • 1,206
  • 2
  • 14
  • 28
0
votes
2 answers

List USB drive letters in VC++

I want to list USB drives in my machine. How to do it in VC++. Can u give a sample code.
Sijith
  • 3,740
  • 17
  • 61
  • 101
0
votes
2 answers

batch file detects drive letter of the USB flash drive it's on then opens cmd prompt

I would like to put a batch file on a USB flash drive that I can just plug in and run the batch. I would like the batch to detect what drive letter has been assigned to the USB flash drive, then open a command prompt and change the directory to the…
cheapkid1
  • 469
  • 7
  • 18
  • 32
-2
votes
1 answer

How to find folder when drive letter is unknown and folder path is random/unknown. using wmic logicaldisk get caption in Batch File?

Condition: I have 3 different folders. Folder1, Folder2 and Folder 3. They are placed within an unknown USB drive. Also the path is random. Sometimes it's: G:\Hello\Folder1 G:\Hello\Folder2 G:\hello\Folder3 and sometimes…
haseakash
  • 31
  • 1
  • 6
-2
votes
1 answer

Drive letter keeps changing on Windows Server 2012

We require to take backup for client regularly on L drive.We assigned the drive letter 'L' from disk management but when the next tape is inserted for next day backup it goes back to H again. We keep changing the drive letter to 'L' but drive letter…
-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…
1 2 3
4