Computing.Net > Forums > Windows XP > CMD: passgen with variables

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

CMD: passgen with variables

Reply to Message Icon

Name: blink
Date: October 9, 2007 at 00:45:06 Pacific
OS: XP
CPU/Ram: P4
Product: HP
Comment:

We use passwords to secure the BIOS for our desktops. I want to create a batchfile that, on input of a keyword and the serialnumber of the desktop, generates the exact same password each time.

Whats the best way to accomplish this?



Sponsored Link
Ads by Google

Response Number 1
Name: Mechanix2Go
Date: October 9, 2007 at 02:11:00 Pacific
Reply:

If you're able to use a 3rd party util, get CRC32.com and try this:

==============================
@echo off

if %2'==' echo 2 parameters: keyword and the serialnumber && goto :eof

> # echo %1 %2
crc32 #
type nul > #



=====================================
If at first you don't succeed, you're about average.

M2



0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows XP Forum Home


Sponsored links

Ads by Google


Results for: CMD: passgen with variables

Running exes with variables (...) www.computing.net/answers/windows-xp/running-exes-with-variables-/74119.html

Error - cmd.exe Path Variable www.computing.net/answers/windows-xp/error-cmdexe-path-variable/170428.html

cmd.exe - var change breaks script? www.computing.net/answers/windows-xp/cmdexe-var-change-breaks-script/165363.html