MSFN Forum: more compatible batch file for ording drive letters - MSFN Forum

Jump to content


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

more compatible batch file for ording drive letters updated on 1 Nov. 2008

#41 User is offline   ElrickLandon 

  • Newbie
  • Group: Members
  • Posts: 14
  • Joined: 04-April 10
  • OS:none specified
  • Country: Country Flag

Posted 11 November 2010 - 06:22 AM

Thanks to all for your answer, if i use this code is it more correct ?

setlocal enabledelayedexpansion
for /F "tokens=1 delims=:\" %%A IN ('MOUNTVOL^|FINDSTR [A-Z]:\\') do (
set var=%%A
set var=!var: =!
net share !var!=!var!: /GRANT:"Tout le monde",FULL >NUL
endlocal



#42 User is offline   Yzöwl 

  • Wise Owl
  • Group: Super Moderator
  • Posts: 4,364
  • Joined: 13-October 04
  • OS:Windows 7 x64

Posted 11 November 2010 - 03:11 PM

No it is not!

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy