Jump to content

Chiphead

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by Chiphead

  1. mdes, Sorry but I haven't had the opportunity to test any further. I will let you know as soon as I can. Thanks again,
  2. CD-Rom Drive problem.....FIXED! Still have one other problem, the drive letter exclusions don't seem to have any effect. As I mentioned in my previous post I made the drive exclusion files as instructed: DRIVE-.I through DRIVE-.Z and put them on the root of the system drive (C:) in an attempt to force the Removeable drives to take the letters G & H. It is not working still. Also, I call the MapDrive.cmd file using a start /wait from my RunOnceEX.cmd file and the MapDrive.cmd doesn't seem to contain an appropriately placed EXIT command so the cmd Window Titled "ReAssign letters to Drives" remains open and my RunOnceEx.cmd file will not continue until I close the "ReAssign letters to Drives" window. The reason for the start /wait is because I am relying on accurate Drive Letters for the CDROM variable in my RunOnceEX.cmd file to work. Since the script takes a little time to finish I have to "Start /WAIT" launch the file. I placed two EXIT commands in the file here: :: ------------------------------------------------------------------------------- :: Display some "debug" infos :: ------------------------------------------------------------------------------- ECHO ------------------------------ SET TMP_ ---------- >>TMP_MAPDRIVE.LOG SET TMP_ | SORT | MORE >>TMP_MAPDRIVE.LOG ECHO ------------------------------ NOTE ---------- >>TMP_MAPDRIVE.LOG ECHO TMP_VOLDESC- show the expected reassignments >>TMP_MAPDRIVE.LOG EXIT GOTO :EOF :: ------------------------------------------------------------------------------- :MakeDesc "VolNr" "OldLetter" "NewLetter" "VolName" "VolType" "VolInfo" "Comment" "DestVariable" :: 1 2 3 4 5 6 7 8 :: ------------------------------------------------------------------------------- SET To=to IF "%~3" == " " SET To=-- IF "%~3" == " " SET To=%~1 IF "%~2" == "%~3" SET To=== SET %~8=%~2 %To% %~3 [%~4] [%~5] [%~6] %~7 GOTO :EOF EXIT ------This is the end of the file ----- It seems to work perfectly when I use it. Are these EXITs located in an appropriate place? PS: I have not yet added them into the NEW version. Here are the Log File Results (using the Code Tags as suggested ) MAPDRIVE v2005/06/23 E: Volume 0 [[-No name-]] [DVD-ROM ] [ ] IS assignable Z: Volume 1 [[-No name-]] [CD-ROM ] [ ] IS assignable C: Volume 2 [[-No name-]] [Partition] [System ] is NOT assignable... ...because it is the System Drive D: Volume 3 [[-No name-]] [Partition] [ ] IS assignable Y: Volume 4 [[-No name-]] [Removeabl] [ ] IS assignable X: Volume 5 [[-No name-]] [Removeabl] [ ] IS assignable ------------------------------ TMP_LISTVOL.LOG ---------- Volume 0 E DVD-ROM 0 B Volume 1 Z CD-ROM 0 B Volume 2 C NTFS Partition 20 GB Healthy System Volume 3 D NTFS Partition 56 GB Healthy Volume 4 Y Removeable 0 B Volume 5 X Removeable 0 B ------------------------------ TMP_REMOVE.TXT ---------- REM --- Z to F [[-No name-]] [CD-ROM ] [ ] Different Letter was Z: --- SELECT Volume 1 REMOVE NOERR REM --- Y to ? [[-No name-]] [Removeabl] [ ] Different Letter was Y: --- SELECT Volume 4 REMOVE NOERR REM --- X to ? [[-No name-]] [Removeabl] [ ] Different Letter was X: --- SELECT Volume 5 REMOVE NOERR [TEST mode: no actual deassignment] ------------------------------ Assignments ---------- V Volume 2 =C -- [[-No name-]] [Partition] [System ] System Drive Volume 3 =D == D [[-No name-]] [Partition] [ ] Same Letter Volume 0 =E == E [[-No name-]] [DVD-ROM ] [ ] Same Letter Volume 5 =X to Y [[-No name-]] [Removeabl] [ ] Free Letter Volume 4 =Y to Z [[-No name-]] [Removeabl] [ ] Free Letter Volume 1 =Z to F [[-No name-]] [CD-ROM ] [ ] Different Letter ------------------------------ V Volume 2 =C -- [[-No name-]] [Partition] [System ] System Drive Volume 3 =D == D [[-No name-]] [Partition] [ ] Same Letter Volume 0 =E == E [[-No name-]] [DVD-ROM ] [ ] Same Letter Volume 1 =Z to F [[-No name-]] [CD-ROM ] [ ] Different Letter Volume 5 =X to Y [[-No name-]] [Removeabl] [ ] Free Letter Volume 4 =Y to Z [[-No name-]] [Removeabl] [ ] Free Letter ------------------------------ TMP_ASSIGN.TXT ---------- REM --- Z to F [[-No name-]] [CD-ROM ] [ ] Different Letter was Z: --- SELECT Volume 1 ASSIGN LETTER F NOERR REM --- Y to ? [[-No name-]] [Removeabl] [ ] Different Letter was Y: --- SELECT Volume 4 ASSIGN LETTER Z NOERR REM --- X to ? [[-No name-]] [Removeabl] [ ] Different Letter was X: --- SELECT Volume 5 ASSIGN LETTER Y NOERR [TEST mode: no actual reassignment] ------------------------------ SET TMP_ ---------- TMP_CDR_NR=1 TMP_DVD_NR=1 TMP_FREE_LETTER-G=* TMP_FREE_LETTER-H=* TMP_FREE_LETTER-I=* TMP_FREE_LETTER-J=* TMP_FREE_LETTER-K=* TMP_FREE_LETTER-L=* TMP_FREE_LETTER-M=* TMP_FREE_LETTER-N=* TMP_FREE_LETTER-O=* TMP_FREE_LETTER-P=* TMP_FREE_LETTER-Q=* TMP_FREE_LETTER-R=* TMP_FREE_LETTER-S=* TMP_FREE_LETTER-T=* TMP_FREE_LETTER-U=* TMP_FREE_LETTER-V=* TMP_FREE_LETTER-W=* TMP_FREE_LETTER-X=* TMP_NEW_CDR_LETTER-1-F=F TMP_NEW_DVD_LETTER-1-E=E TMP_NEW_LETTER-Volume 1 =F TMP_NEW_LETTER-Volume 4 =? TMP_NEW_LETTER-Volume 5 =? TMP_NR=1 TMP_OLD_CDR_LETTER-1-Volume 1 =Z TMP_OLD_CDR_VOLUME-1-Z=Volume 1 TMP_OLD_DVD_LETTER-1-Volume 0 =E TMP_OLD_DVD_VOLUME-1-E=Volume 0 TMP_OLD_LETTER-Volume 0 =E TMP_OLD_LETTER-Volume 1 =Z TMP_OLD_LETTER-Volume 2 =C TMP_OLD_LETTER-Volume 3 =D TMP_OLD_LETTER-Volume 4 =Y TMP_OLD_LETTER-Volume 5 =X TMP_PATH=C:\Install\ TMP_VOLDESC-Volume 0 =E == E [[-No name-]] [DVD-ROM ] [ ] Same Letter TMP_VOLDESC-Volume 1 =Z to F [[-No name-]] [CD-ROM ] [ ] Different Letter TMP_VOLDESC-Volume 2 =C -- [[-No name-]] [Partition] [System ] System Drive TMP_VOLDESC-Volume 3 =D == D [[-No name-]] [Partition] [ ] Same Letter TMP_VOLDESC-Volume 4 =Y to Z [[-No name-]] [Removeabl] [ ] Free Letter TMP_VOLDESC-Volume 5 =X to Y [[-No name-]] [Removeabl] [ ] Free Letter TMP_VOLINFO-Volume 0 = TMP_VOLINFO-Volume 1 = TMP_VOLINFO-Volume 2 =System TMP_VOLINFO-Volume 3 = TMP_VOLINFO-Volume 4 = TMP_VOLINFO-Volume 5 = TMP_VOLNAME-Volume 0 =[-No name-] TMP_VOLNAME-Volume 1 =[-No name-] TMP_VOLNAME-Volume 2 =[-No name-] TMP_VOLNAME-Volume 3 =[-No name-] TMP_VOLNAME-Volume 4 =[-No name-] TMP_VOLNAME-Volume 5 =[-No name-] TMP_VOLTYPE-Volume 0 =DVD-ROM TMP_VOLTYPE-Volume 1 =CD-ROM TMP_VOLTYPE-Volume 2 =Partition TMP_VOLTYPE-Volume 3 =Partition TMP_VOLTYPE-Volume 4 =Removeabl TMP_VOLTYPE-Volume 5 =Removeabl TMP_VOLUME=Volume 1 ------------------------------ NOTE ---------- TMP_VOLDESC- show the expected reassignments Thanks again,
  3. mdes, thanks for this very useful utility. I ran this on the machine I intend to use it for and I am having a problem. On my C: drive I made 3 files: DRIVE.C DVD.E CDR.F On my D: drive I made a file DRIVE.D I also have a 2-slot Card reader which I really don't care about their letters. I ran the command in Test mode MapDrive ENU TEST c:\ I didn't get any errors however The CD-rom drive letter did not get reported as changed in the log file. Here is the log file Any ideas what may be happening. I downloaded the version listed on the first post dated 5/19/05. I saw mention of a "Beta" version. Is there a Beta version I should be using? Just for the heck of it I tried excluding the letters 'I' through 'Z' to see how it would assign the letters. It STILL "assigned" (log-file) X-Y-Z to the CD-Rom and the two Card reader slots? I made files name DRIVE-.I , Drive-.J, etc. and put them at the root of C:\ (system Drive) and it looks like they weren't even acknowledged by the batch file. I've attached the file. Thanks in advance, TMP_MAPDRIVE.LOG.txt
×
×
  • Create New...