Jump to content

Recommended Posts

Posted (edited)

This works in Windows 7 installation but not in Windows 8.1. %MyDrive% returns blank

And doi I really need the setlocal enableextensions?

Running this from a usb jump drive

this is from here http://www.msfn.org/board/topic/138899-se7en-ua-with-sp1-inject-or-get-full-sp1-iso/#entry888486

I changed it this way to skip the blank memory card slots and works in 7

Color 1Fcd /d %~dp0setlocal enableextensions@ECHO OFFCLSFor %%I IN (A B C D E F G H I J K L M N O P Q R S T U V W X Y Z) DO for /f "tokens=4,6*" %%k in ('vol %%I: 2^>nul^|find "drive"') DO IF EXIST %%I:\Windows\Panther SET MyDrive=%%kECHO.ECHO FOUND %MyDrive%:\Windows\Panther
Edited by maxXPsoft

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...