PC Review


Reply
Thread Tools Rate Thread

Batch needs lots of intervention...?

 
 
Kenneth
Guest
Posts: n/a
 
      4th Oct 2008


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."
 
Reply With Quote
 
 
 
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      4th Oct 2008

"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.


 
Reply With Quote
 
Kenneth
Guest
Posts: n/a
 
      4th Oct 2008
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,

Of course, I will study the link, but both logon requests
are Windows Logons.

The first occurs when it boots into Safe Mode, and the
second occurs when it boots back into Normal Mode.

I may be missing something (plenty) but neither seems
related to Paradox, or Contact Genie.

All the best,
--
Kenneth

If you email... Please remove the "SPAMLESS."
 
Reply With Quote
 
Kenneth
Guest
Posts: n/a
 
      4th Oct 2008
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."
 
Reply With Quote
 
Pegasus \(MVP\)
Guest
Posts: n/a
 
      4th Oct 2008

"Kenneth" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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."


I don't think that you can do this with a batch file. Even if you could it
would run contrary to your requirement of having the system password
protected. Putting a password into a batch file is almost the same as
writing it on a post-it note stuck to the screen.


 
Reply With Quote
 
Kenneth
Guest
Posts: n/a
 
      4th Oct 2008
On Sat, 4 Oct 2008 21:07:56 +0200, "Pegasus \(MVP\)"
<(E-Mail Removed)> wrote:
>
>I don't think that you can do this with a batch file. Even if you could it
>would run contrary to your requirement of having the system password
>protected. Putting a password into a batch file is almost the same as
>writing it on a post-it note stuck to the screen.
>


Well, I thank you for your kind help in any case,
--
Kenneth

If you email... Please remove the "SPAMLESS."
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lots of memory problems lately - dont know if motherboard turned out to be picky or theres lots of bad mem around John@Smith.com Computer Hardware 1 20th Apr 2005 05:04 PM
Lots and lots of white space in Add and Remove Programs =?Utf-8?B?YnJvb2tfbWFu?= Windows XP General 5 27th Oct 2004 11:03 PM
Lots of Frustration - Lots of Arrays, Dynamic Ranges Don't Work, Help With Options Karl Burrows Microsoft Excel Programming 3 17th Apr 2004 12:48 PM
Lots of Frustration - Lots of Arrays, Dynamic Ranges Don't Work, Help With Options Karl Burrows Microsoft Excel Misc 4 17th Apr 2004 12:48 PM
Lots of Frustration - Lots of Arrays, Dynamic Ranges Don't Work, Help With Options Karl Burrows Microsoft Excel Discussion 6 17th Apr 2004 12:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:22 PM.