Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

For %%I IN

- - - - -

  • Please log in to reply
2 replies to this topic

#1
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,880 posts
  • OS:Windows 7 x64
  • Country: Country Flag

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/...so/#entry888486

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

Color 1F
cd /d %~dp0
setlocal enableextensions
@ECHO OFF
CLS
For %%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=%%k
ECHO.
ECHO FOUND %MyDrive%:\Windows\Panther

Edited by maxXPsoft, 19 July 2013 - 11:29 AM.

Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1


How to remove advertisement from MSFN

#2
jaclaz

jaclaz

    The Finder

  • Developer
  • 14,026 posts
  • OS:none specified
  • Country: Country Flag

Maybe useful, maybe not:

http://www.msfn.org/...image/?p=895361

http://www.msfn.org/...-gui/?p=1005836

 

jaclaz



#3
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,880 posts
  • OS:Windows 7 x64
  • Country: Country Flag

figured out what was up. tried to run too early before Windows is localized to a drive. Works fine after that.


Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN