Under Windows 7, I simply input the password after the username and it accepted it. It did not prompt twice. The syntax is;
net user %username% Password
...v
Search found 8 matches
- 18 Jan 2010 01:52
- Forum: DOS Batch Forum
- Topic: Net Command Help
- Replies: 2
- Views: 4509
- 17 Jan 2010 22:00
- Forum: DOS Batch Forum
- Topic: Newbie needs help for perfect bootdisk
- Replies: 1
- Views: 3484
- 17 Jan 2010 21:31
- Forum: DOS Batch Forum
- Topic: Need to create a 60 minutes delay in my DOS script
- Replies: 9
- Views: 14072
Windows 2003 and above all have a command called WAITFOR that can be used to pause for up to 99999 seconds. Its actually used to have server1 wait for a process on server2 to finish, once server2 finishes its process, it broadcast the 'signal' across the network to server1 and then server1 begins/co...
- 17 Jan 2010 18:28
- Forum: DOS Batch Forum
- Topic: Assistance using Arrays
- Replies: 1
- Views: 3707
Assistance using Arrays
Hey guys, I'm trying to figure out how to use 'arrays' and I'm having some trouble. I wasn't able to get the :getipconfig function to work under Windows 7; I was using some sample code from another post that pulled .IPAddress from the array call:getIPConfig arr echo.%arr[1].IPv4Address% echo.%arr[2]...
- 12 Jan 2010 20:15
- Forum: DOS Batch Forum
- Topic: Obtain IP Address (and parse Octets) and Gateway from DOS
- Replies: 1
- Views: 5829
Obtain IP Address (and parse Octets) and Gateway from DOS
This is really useful for running domain login scripts based on IP Subnet. Six months ago when I was trying to figure out how to do this, I couldnt. Most results on google returned the use of a third party application that needed to be installed on every workstation in the domain in order to process...
- 05 Jan 2010 17:35
- Forum: DOS Batch Forum
- Topic: Help please
- Replies: 7
- Views: 8137
- 05 Jan 2010 16:37
- Forum: DOS Batch Forum
- Topic: Help please
- Replies: 7
- Views: 8137
- 04 Jan 2010 16:04
- Forum: DOS Batch Forum
- Topic: Help please
- Replies: 7
- Views: 8137