Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › hi, im back with another batch q.
New Posts  All Forums:Forum Nav:

hi, im back with another batch q.

post #1 of 3
Thread Starter 
so the first idea didnt work so im trying different methods.

my current idea is to use the command net user > info.txt to create a info file with the user accounts. is there any command that will read the txt and write the usernames instead of a * or something else.

idea:

net user > info.txt
"command that will divide the usernames and give them numbers"
net user 1* qwerty12 /add
net user 2* qwerty12 /add
net user 3* qwerty12 /add
net user 4* qwerty12 /add
net user 5* qwerty12 /add
net user 6* qwerty12 /add

the use of this batch file would be to change all username to qwerty12.
if you got a better idea you're free to post

BTW the info file will look similar to this:


Anv„ndarkonton f”r \\\\******

-------------------------------------------------------------------------------
Administrat”r ASPNET G„st
Hj„lpassistent ****** SUPPORT_388945a0
Kommandot har utf”rts.
My System
(13 items)
 
  
CPUMotherboardOSMonitor
AMD64 3500+@2500-2650mhz Asus A8N-SLI XP pro Just some junk 
KeyboardPowerCaseMouse
Crap OCZ Modstream 450W Thermaltake Shark :) MX518 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardOSMonitor
AMD64 3500+@2500-2650mhz Asus A8N-SLI XP pro Just some junk 
KeyboardPowerCaseMouse
Crap OCZ Modstream 450W Thermaltake Shark :) MX518 
  hide details  
Reply
post #2 of 3
Thread Starter 
heres the info file, the gaps were auto removed when i inserted it into the post so here is the actuall txt file.
the command has to be able to divide different usernames then the ones i have in the txt...
My System
(13 items)
 
  
CPUMotherboardOSMonitor
AMD64 3500+@2500-2650mhz Asus A8N-SLI XP pro Just some junk 
KeyboardPowerCaseMouse
Crap OCZ Modstream 450W Thermaltake Shark :) MX518 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardOSMonitor
AMD64 3500+@2500-2650mhz Asus A8N-SLI XP pro Just some junk 
KeyboardPowerCaseMouse
Crap OCZ Modstream 450W Thermaltake Shark :) MX518 
  hide details  
Reply
post #3 of 3
Ok
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › hi, im back with another batch q.