I have a situation where I wish to use the net use command to map some network drives to a server running a domain.
net use O: \\servername\sharename
The logon.bat sits locally on the computer, with a shortcut in the startup folder. Upon reboot and logging onto the workstation locally (workgroup logon), the DOS box appears like normal to run the drive mapping scripts. But on the first map attempt...it prompts for a username and a password..at which point you type it into the DOS box...and it then completes the mapping.
Cannot set these computers to log into the domain like normal...else I'd be doing that already.