Jump to content

Recommended Posts

Posted

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?


Posted

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!

Posted

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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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