MSFN Forum: CMDLINES.TXT problem with network drive - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

CMDLINES.TXT problem with network drive Rate Topic: -----

#1 User is offline   mond 

  • Group: Members
  • Posts: 2
  • Joined: 06-July 06

Posted 13 July 2006 - 04:44 PM

I have the following 2 lines in my CMDLINES.TXT :

".\NET USE V: \\MYPDC\INSTALL /USER:MYDOMAIN\someuser user123 /PERSISTENT:NO"
"V:\cmdfolder\runonceex.cmd"

I'm basically trying to allow the RunOnceEx population to occur from a network drive so I can change the setup if needed without having to burn new media. However, once the setup has rebooted, no commands are executed upon first login. Is there any way for me to tell why this is failing? Once logged in I can actually run both of these commands from a command line and watch them execute properly, so I know that the syntax is correct. I've also tried the "net use" statement without the preceding '.\' and in a separate .cmd file, both without success.

Any suggestions from someone that has been able to do the same?


#2 User is offline   IcemanND 

  • MSFN Junkie
  • Group: Super Moderator
  • Posts: 3,249
  • Joined: 24-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 13 July 2006 - 05:09 PM

to my knowledge and recollection the network is not yet available at this point of the install.

#3 User is offline   mond 

  • Group: Members
  • Posts: 2
  • Joined: 06-July 06

Posted 13 July 2006 - 09:37 PM

Paste "cmdlines.txt network drive" into a Google search. The first two hits document using CMDLINES.TXT to map a network drive. While I'm not saying those 2 sources of information are infallible, seeing it documented lends credence to the fact that you can, in fact, access the network at that stage of the install.

Of course, they could be wrong just as easily!

#4 User is offline   Djé 

  • accent artist
  • PipPipPip
  • Group: Members
  • Posts: 359
  • Joined: 10-January 06

Posted 14 July 2006 - 09:23 AM

What about searching the forum itself?

You may find this.

Since cmdlines.txt only allow for quite limited syntax in the commands, you may also want to put them (specifically the NET USE one) inside a .cmd batch file and only call that batch from cmdlines.txt.

Share this topic:


Page 1 of 1
  • 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 - 2011 msfn.org
Privacy Policy