Jump to content

cslee

Member
  • Posts

    20
  • Joined

  • Last visited

  • Donations

    $0.00 
  • Country

    Malaysia

Everything posted by cslee

  1. samething ... sigh still cannot found the solotion ....
  2. I have try to search from that site you provide me unfortunely I can't find the thing I'm looking for. Any other reference ??
  3. Does anyone know how to use batch file to get user input as variable in Win98/WinMe msdos prompt ? Any help is appreciated !
  4. Does any one how to read variable from *.com or anyone know how to read variable from a text file.Just a row from a text file in Win98 command prompt ? Help is appreciated !!
  5. yes.the random application does help me a lots.Thank you so much ..!! Anyway ... do you know where can I find the batch programming for "for loop syntax".Because I need to use for loop to retrieve the number generate by the random.com to define the variable for it ?
  6. certainly is Win9x batch script language.Any ideal ?
  7. Does anyone have any ideal on how to generate random number / alphanumber in win9x dos ? I need it urgently .Thanks. I have no problem create random number in win2000/NT/XP but I need it in windows 9x.Please help !!
  8. Even this is working but I do think this is not a very good ideal and working for me,since my program will initiliaze the computer name before connect to network. So I hope it would be better to use mac address as computer in dos since mac address for each network card is very unique.So does any one know well in batch script for "FOR" command for windows 98/MSDOS 6.22.
  9. or Maybe I should say I have make a network bootdisk.I like to use the mac address as computer name so that there is not conflict in computer name when there is many computer running together by using the network bootdisk.The "for" which I have place in the previous message was running very well in Windows XP command prompt.But when I try to run it in Win98 bootdisk/MSdos 6.22 ,it show the syntax error. I have totally no ideal on how to correct since I'm very new to batch script ptogramming.I hoping someone could help me to correct it. Thanks.
  10. I think you have misunderstand what i'm saying.What I like to do is I would like to take the mac address in pure dos and convert it to computer name so it won't have conflict computer name.This thing is apply in my network bootdisk. or do you have any other way to generate random computer name in dos ?
  11. I have a problem running "for" command in windows 98 command prompt.I have no problem to run this command in windows XP command prompt.but when I try to execute the "for" command through win98 startup disk to boot the system it return syntax error.The following are the "for" command in my batch file: for /f "tokens=1,2* delims=- " %%1 in ('nbmac') do @echo %%1 %%2 nbmac is a application which i use to retrieve my network card mac address. your guiden is appreciate.thank you.
  12. Is not working after many testing. Any one have any ideal ?
  13. Do I need any special syntax to increase windows installation speed in smartdrv.exe ? How to configure the smartdrv so that it can install windows faster!
  14. What is the PowerDVD & Trend Micro Internet Security silent installation switch ?
  15. so the code you provide is able to fdisk it self or i need to manual do the fdisk? How do i can automatically do the fdisk in unattend windows installation ?
  16. I have try to do the unattended network installation for winXP.But it hang when copy the file to harddisk in the first step. unattend.bat ======== @rem SetupMgrTag @echo off rem rem This is a SAMPLE batch script generated by the Setup Manager Wizard. rem If this script is moved from the location where it was generated, it may have to be modified. rem set AnswerFile=z:\unattend.txt set SetupFiles=Z:\I386 Z:\I386\winnt /s:%SetupFiles% /unattend:%AnswerFile% unattend.txt ======== ;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" [unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=215 OemSkipWelcome=1 [userData] ProductID=AAAA-BBBBB-CCCCC-4GDMH-FPJ7T FullName="cslee" OrgName="cslee" ComputerName=* [setupMgr] DistFolder=\\PGS-DITPC-1\XPSETUP DistShare=XPSETUP [TapiLocation] CountryCode=60 [RegionalSettings] LanguageGroup=7,8,10,11,9 [branding] BrandIEUsingUnattended=Yes Home_Page=http://www.abc.com [Proxy] Proxy_Enable=0 Use_Same_Proxy=1 [identification] JoinWorkgroup=STPGS [Networking] InstallDefaultComponents=Yes I have map the network drive to z:\ drive.inside the z drive contain the Z:\i386 folder Z:\unattend.bat Z:\unattend.txt please help.thanks.
  17. ok.it is cmdlines.txt.i have type mistanely.sorry for that.other than that .what can you see from the error that cause the cmdlines.txt not execute.
  18. I have type the Regedit/s mistakenly.The regedit command is as following: Regedit /s regtweak.reg ( have space between the regedit and /s) Yes,the update.cmd is in the $OEM$ folder as well also. Example ====== CD-ROM:\I386\ CD-ROM:\$OEM$\update.cmd CD-ROM:\$OEM$\cmdlinex.txt CD-ROM:\$OEM$\regtweak.reg cmdlinex.txt ======== [COMMAND] "REGEDIT /S regtweak.reg" "Update.cmd"
  19. winnt.sif ====== ;SetupMgrTag [Data] AutoPartition=1 MsDosInitiated="0" UnattendedInstall="Yes" [unattended] UnattendMode=FullUnattended OemSkipEula=Yes OemPreinstall=Yes TargetPath=\WINDOWS [GuiUnattended] AdminPassword=* EncryptedAdminPassword=NO OEMSkipRegional=1 TimeZone=215 OemSkipWelcome=1 [userData] ProductID=AAAAA-AAAAA-AAAAA-AAAAA-AAAAA FullName="CSLEE" OrgName="CSLEE" ComputerName=CSLEE [RegionalSettings] LanguageGroup=7,8,10,11,9 [identification] JoinWorkgroup=CSLEE [Networking] InstallDefaultComponents=Yes cmdlines ====== [Commands] "regedit/s regtweak.reg" "update.cmd" Please help ,I have try this so many times and the cmdlinex.txt command still not been executed !! Where can I find more information for RunOnce and hotfixes installation cause I have try the way they post to unattended install hotfixes but still could not success .
  20. I have create a custom unattended mode for WinXP SP1 CD.The $OEM$ is place in the root of the CD (CD-Drive:\$OEM$).I have place the cmdlines.txt inside the $OEM$ folder to execute some command but it seem like doesn't execute at all. Any ideals? P/S: I have enable the OEMPreinstall=Yes in the winnt.sif.


×
×
  • Create New...