On Sat, 4 Oct 2008 19:00:57 +0200, "Pegasus \(MVP\)"
<(E-Mail Removed)> wrote:
>
>"Kenneth" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed)...
>>
>>
>> Howdy,
>>
>> I have been trying to create a batch file that will start
>> with my system in Normal Mode, boot it into Safe Mode with
>> Net, run two programs, and finally boot the system into
>> Normal Mode once again.
>>
>> With some help, I have gotten this far:
>>
>>
>> @echo off
>> if exist c:\safemode (
>> del c:\safemode
>> attrib -r -a -s -h c:\boot.ini
>> start /wait "" "C:\Program Files\Corel\WordPerfect Office
>> 2000\programs\pdxwin32.exe" -W D:\Contacts D:\ contacts.fsl
>> start /wait "" "C:\Program Files\ContactGenie
>> Importer\CGImprtr.exe"
>> /TM=Contacts-3;/FL=D:\Contacts\contacts.txt;/PC=Y;/RQ=N
>> copy /y c:\boot.NORM c:\boot.ini
>> shutdown -r -t 00
>> ) else (
>> echo XP boot in safe mode >c:\safemode
>> attrib -r -a -s -h c:\boot.ini
>> copy /y c:\boot.SAFE c:\boot.ini
>> shutdown -r -t 00
>> )
>>
>>
>> and it runs properly, but with lots of intervention:
>>
>> I launch the batch file from a shortcut.
>>
>> Then, I have to:
>>
>> click on my username
>> enter my password
>> click to clear the Safe Mode description
>> launch the shortcut
>> click on my username
>> enter my password
>>
>> Is there a way to incorporate all that into the batch file
>> so that it would run to completion without further
>> intervention?
>>
>> Thanks for any help on this,
>> --
>> Kenneth
>>
>> If you email... Please remove the "SPAMLESS."
>
>Check this link about your first automatic logon:
>http://www.wikihow.com/Enable-Automa...-in-Windows-XP.
>
>About the second automatic logon: This appears to be a property of
>pdxwin32.exe or of CGImprtr.exe, hence you should consult the manual for
>these products.
>
Hi again,
I just reviewed the link you suggested, but it is about how
to set up the system for automatic logon.
I need to have the system password protected, and so, would
not want to set my system up to boot with an automatic
logon.
I was hoping to incorporate something in the batch file to
(as you said in an earlier post) "force" a logon.
Thanks for any further help,
--
Kenneth
If you email... Please remove the "SPAMLESS."