Search found 2 matches

by Fugazi
01 Feb 2016 09:01
Forum: DOS Batch Forum
Topic: Problem with dynamically changing drive letters in WinPE
Replies: 2
Views: 2996

Re: Problem with dynamically changing drive letters in WinPE

Squashman wrote:

Code: Select all

SET %Drive%=W:

You do not use percent symbols when assigning a variable using the SET command. Remove the percent symbols.


Oh what a dumb so and so I am .. must have looked through that code 100 times and didn't see that.

Thank you.
by Fugazi
01 Feb 2016 08:15
Forum: DOS Batch Forum
Topic: Problem with dynamically changing drive letters in WinPE
Replies: 2
Views: 2996

Problem with dynamically changing drive letters in WinPE

Hoping someone can help. I am in the process of writing a bespoke DOS batch file (in WinPE) to run a windows imaging system. I require that the drive letters to all the partitions and the WinPE USB be set to specific ones, however when I change them using a DISKPART text file I get an unable to find...