Content Type
Profiles
Forums
Events
Posts posted by mdes
-
-
Hi Aemetz,
Sorry for the long delay to answer you, but the forum subscription does not seem to work
I have no experience with this kind of installation (Win2K + WinXP)
If at installation time, C: is the system partition, I think that creating a empty file DRIVE.F on the partition where WinXP has to be installed will solve the issue, but I am not sure this will solve the problem. Perhaps creating DRIVE-.F on the system partition, so MapDrive will not assign the lettre F:, then during the boot, Windows will perhaps take the letter F (which was not assigned by MapDrive) to assign your WinXP partition (so aiigning F: instead of J:).
Yes, but nor the system partition, nor the partition with the page file cannot be reassign. You can run MapDrive in a normal DOS box.your program is able to reassign system drives also after installation had been finished?
Booting on Win2K, you should be able to change the letter of your WinXP partition to F:; this is maybe THE solution...I have to do this prior to install WinXP, e.g. integration of your program into the custom installation CD in unattended mode?I hope to have wel understood and correctly reply to your questions,; in the opposite, ask again
Michel.
ps: MapDrive should be integrated in nLite as an addon; see htp://www.german-nlite.de for further informations.
0 -
Hi kamizoli,
Could you run it as
MapDrive.cmd DEU TEST LogPath
and send me the resulting log file TMP_MAPDRIVE_date_time.LOG? (LogPath = C:\ or whatever)
Michel
0 -
Using folder, the selected folder should be ended with a "/". I had t edit "WUD.settings" file by changing [quote]<DownloadPath value="I:\WindowsUpdates" />[/quote]by [quote]<DownloadPath value="I:\WindowsUpdates\" />[/quote]0
-
It could help a lot of non-English users if the page Windows XP updates for use with HFSLIP would contain an additional parameter: the Language IDs of the Hotfixes
This could be done by replacing familyID= BY displaylang=<2_letters_language>&familyID=
and ENU by <3_letters_language>
ex:
...details.aspx?familyID=C717D943-7... replaced by
...details.aspx?displaylang=fr&familyID=C717D943-7...and
...d93b/ENU_Q832483_MDAC_x86.EXE... replaced by
...d93b/FRA_Q832483_MDAC_x86.EXE...0 -
So, please post the corrected codeAwesome! Thank you Mdes, it works like a charm! I only had to correct a couple of syntax errors but it was easy.0 -
@ECHO OFF
SETLOCAL ENABLEEXTENSIONS ENABLEDELAYEDEXPANSION
ECHO RESCAN >TMP_LISTVOL.TXT
ECHO LIST VOLUME >>TMP_LISTVOL.TXT
ECHO EXIT >>TMP_LISTVOL.TXT
START "Listing volumes" /WAIT /MIN CMD /C "DISKPART /s TMP_LISTVOL.TXT | MORE | FINDSTR /R /C:"^ *Volume [0-9][0-9]*" >TMP_LISTVOL.LOG"
DEL TMP_LISTVOL.TXT
FOR /F "usebackq delims=:" %%V IN (TMP_LISTVOL.LOG) DO (
SET LINE=%%V
SET VOLUME=!LINE:~2,9!
SET TMP_OLD_LETTER=!LINE:~15,1!
SET VOLTYPE=!LINE:~39,9!
SET VOLINFO=!LINE:~71,8!
SET VOLNAME=!LINE:~19,11!
IF "!VOLTYPE!" == "REMOVABLE" (
ECHO SELECT !VOLUME! >TMP_TEST1VOL.TXT
ECHO REMOVE NOERR
)
)
ECHO EXIT >>TMP_TEST1VOL.TXT
START "Deassign Removable Drives" /WAIT /MIN CMD /C "DISKPART /s TMP_TEST1VOL.TXT
DEL >>TMP_TEST1VOL.TXTNote that some space could be inserted before REMOVABLE => " REMOVABLE" or " REMOVABLE" or ...
Type in a DOX box:
DISKPART
LIST VOLUME
EXITand see what to put...
I've not tested it
0 -
Did you try the last version (2005/11/04), I didn't deassign letters that don't need to be changed.I have a card reader that shows as 4 Removable Drives. I would like to make them disappear from my list. The script removes all drive letters anyway and then re-assigns them, so I need some assistance in telling it to not re-assign letters to removable drives.Any help in inserting the appropriate code would be appreciated.
0 -
Yes, but I already added "/MIN" in the lastest version, so the DOS batch windows will be minimized: in case of problem, you will know where it occured!One final question (honestly!)... is it possible to implement the functionality of CMDOW (http://www.commandline.co.uk/cmdow/) to eliminate, or reduce the popup/dos windows???ps: I am also using CMDOW in my unattended installation, but not with MAPDRIVE.CMD!
0 -
Oups Thanks, I just forgot to upload itps: there is no download link on your frist post0 -
You're welcomeHi mdes.... drscouse.. again!!!
Yes, as stated in the documentation which is at the .CMD beginning:is it therefore possible to set a temp dir on the installation directory for mapdrive to use, and allow it to run from cd?:: Parameters:
:: ----------
:: 1. Language ID (ENU, FRA, DEU,...). No default value, mandatory.
:: 2. TEST to do everything except the drives de/re-assignment. The log file
:: TMP_MAPDRIVE_date_time.LOG is created: you can display it to see the expected assignments.
:: The environment variables TMP_VOLDESC- show the assignments to be done.
:: 3. TempPath : Path where temporary files will be created. Default is current directory.
:: Path could be enclosed in quotes and could terminated by a backslsh.
:: This is the 2d parameter if the TEST is omitted as the 2d one.You can use %SYSTEMDRIVE%:\...
ps: I jut downloaded a new version in the 1st post.
0 -
New version (2005/10/28):
- DRIVE.?, DVD.? and CDR.? could be hidden.
- Try to keep the existing letters.
- Group deasignments and reassignments.
See the first post of this thread to download it.
0 - DRIVE.?, DVD.? and CDR.? could be hidden.
-
All informations are in
and all the characteristics of each drive is in the "readable" binary data "\DosDevices\...". But I would prefer to rewrite MAPDRIVE.CMD in a .VBS one to interpret them It's probably Unicode...HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices0 -
If there are no DVD.? on the system drive, then MAPDRIVE reassigns free letters to the DVD (same for CDR and HDD).
In fact, currently, MAPDRIVE is assigning free letters (starting from the alphabet end) to drives that are not forced to be assigned a specific letter (via DRIVE.?, DVD.? and CDR.?). But you gave me a good idea: why do I reassign this kind of free letters instead of leaving the current letter if this one is not forced to be used?
I will try to modify MAPDRIVE to do in such a way
0 -
The problem is coming from the fact that your DRIVE.? are Hidden.
Here is a working version: please let me know if everithing is OK now
0 -
Hi Tinnef,
You should put the files DRIVE.x on the drives y if you want the drive y to be reassign to x.
So, to reassign the drive E: to K:, you should create a file DRIVE.K in E:\
But, I see there is still an error in my script because of the "E: -> none" : I will correct it in a few hours. Could you send me the .log file after running MAPDRIVE.CMD with TEST as the 2d parameter to help me debugging.
Thanks.
0 -
New version: I left a bug in the last version
(@drscouse: This is not for you, I gave you a bug-free command file)
0 -
Here is a new version (see the first post of this thread for downloading):
Many thanks to drscouse who helps me a lot to test this new version.
Now the reassignments of multiple DVD/CD is fully working
0 -
It is the Journal Viewer 1.5 !SVC-X2M: SVC-X2M0 -
-
Just try with a CD/DVD in all of your drives
0 -
I have a CDRW/DVD combi, which it is reassigning letters to, but it remove the letter from my DVDRW, making it unusable!
Before any further tests, reassign the unusable DVDRW by:
DISKPART
SELECT VOLUME 1
ASSIGN LETTER x
EXITwhere "x" should be any letter.
Then uppercase the drive letters by renaming all your "Drive.x" to "Drive.X" (same with the 2 DVD.x). I will correct this later.
And before attempting reassigning really, call MAPDRIVE.CMD with a 2d parameter = to TEST, like in:
MAPDRIVE.CMD ENU TEST
.
Latest, test it on your actual Windows (i.e. not during a new installation): this will bequicker to test.
0 -
Yes since:I also wondered if the files on each drive could be hidden, and still work??
...normally2005/07/22 : DVD.?, CDR.? and DRIVE-.? could be hidden (Thanks to Warrentheo).0 -
You should call MAPDRIVE.CMD with at least one parameters as said in the script begining:I was getting a bit confused when trying to figure out exactly what I needed to change in the script....SET WINLANG=ENU
Should this be my only alteration...???
""D:\mapdrive.cmd"" called with the following parameters: [] [] [] []
Am I missing something here???
:: Parameters:
:: ----------
:: 1. Language ID (ENU, FRA, DEU,...). No default value, mandatory.
:: 2. TEST to do everything except the drives de/re-assignment. The log file
:: TMP_MAPDRIVE.LOG is created: you can display it to see the expected assignments.
:: The environment variables TMP_VOLDESC- show the assignments to be done.
:: 3. TempPath : Path where temporary files will be created. Default is current directory.
:: Path could be enclosed in quotes and could terminated by a backslsh.
:: This is the 2d parameter if the 1st one (TEST) is omitted.Next to come
0 -
Hi chyronn,i've tried to use this but it doesn't work for me, i want to add my hard drive and CD DVD disk drive shortcuts to the desktop, could you give an example how this could be done, please?You just have to create a shortcut of the folders you want in the folder
InstallFolders\Add\Administrateur\Bureau\
"Bureau", which is in French, should be replaced by "Desktop", and "Administrateur" by "Administrator".
So, first create the above folder, then in the Windows Explorer, then after, create the shortcuts by right clicking in the created folder, choosing "New" / "Shortcut", and selecting the Desktop or your CD/DVD disk drive.
Beware! I made some changes in the batch (download the last version, and see the 1.2 point in the description above).
I any problem, ask
0
Reassigning drive letters automatically
in Unattended Windows 2000/XP/2003
Posted
Hi Kamizoli,
I would try
because, in some case, a DOS box title is required with START.
I hope this will solve your problem
Michel.