Jump to content

_TAC_

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Germany

Everything posted by _TAC_

  1. thx for the fast help. @Ausmith1 : diskpart looks not very easy to use @PaulD_ixbt : Your solution is exactly what i am searching for. I can also map my usb-card reader to a path with your script. ---- My configuration: The cd/dvd-drive is allways the first drive, the cd/dvd-writer is the second one (sec. contr.). Two harddisks are linked at the other controller (pri. contr.). In one System i have a promise pci controller with the boot harddisk and the data harddisk (pri master + sec. master) and the dvd-drive/dvd-writer are on the onboard one (pri. master + sec. master). The usb-card reader is - of course - at the usb port. harddisk 1 --> C: D: harddisk 2 --> E: F: DVD-Rom --> G: (should be Z:) DVD-Writer --> H: (should be M:) USB-Card Reader --> I: J: K: L: (should be mapped to subdirectorys on d:\usb-card\ ) D:\usb-card>dir /b 1-cf 2-md 3-sm 4-sd D:\usb-card> (very stupid work to do it by hand each time after a new installation) Now my next question: how can i reconize the "right" drive for each drive letter?
  2. hello, i'm looking for something like http://www.microsoft.com/technet/community...s/scrdfs72.mspx ------------------- Change the Drive Letter of a Volume Description Changes the drive letter of volume D to Q. If you modify this script to change the drive letter of a volume other than D, note that the volume name in the WQL query must include both the colon ( and two forward slashes (\\). Thus drive C would look like this: C:\\. When specifying the new drive letter, however, you only have to include the colon (in the sample script, Q:). Supported Platforms Windows Server 2003 : Yes Windows XP : No Windows 2000 : No Windows NT 4.0 :No Script Code strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set colVolumes = objWMIService.ExecQuery("Select * from Win32_Volume Where Name = 'D:\\'") For Each objVolume in colVolumes objVolume.DriveLetter = "Q:" objVolume.Put_ Next ------------------- The problem is that the "Win32_Volume" class doesn't exist under xp. I need something that chances the driveletter for the dvd-rom to z: and the driveletter for the dvd-rw to m: during unattended setup. thx for help
×
×
  • Create New...